diff --git a/build.gradle b/build.gradle index 97b23fedf..276f54d8a 100644 --- a/build.gradle +++ b/build.gradle @@ -9,7 +9,7 @@ buildscript { classpath 'com.palantir.javaformat:gradle-palantir-java-format:2.2.0' classpath 'com.palantir.gradle.consistentversions:gradle-consistent-versions:2.0.0' classpath 'com.gradle.publish:plugin-publish-plugin:0.15.0' - classpath 'com.palantir.baseline:gradle-baseline-java:4.13.0' + classpath 'com.palantir.baseline:gradle-baseline-java:4.17.0' classpath 'de.undercouch:gradle-download-task:4.1.2' classpath 'com.palantir.gradle.gitversion:gradle-git-version:0.12.3' classpath 'gradle.plugin.org.inferred:gradle-processors:3.3.0' diff --git a/gradle-sls-packaging/src/main/java/com/palantir/gradle/dist/service/gc/GcProfile.java b/gradle-sls-packaging/src/main/java/com/palantir/gradle/dist/service/gc/GcProfile.java index 84eb413ce..cb9302025 100644 --- a/gradle-sls-packaging/src/main/java/com/palantir/gradle/dist/service/gc/GcProfile.java +++ b/gradle-sls-packaging/src/main/java/com/palantir/gradle/dist/service/gc/GcProfile.java @@ -102,7 +102,7 @@ public final List gcJvmOpts(JavaVersion _javaVersion) { */ class NoProfile implements GcProfile { @Override - public List gcJvmOpts(JavaVersion _javaVersion) { + public final List gcJvmOpts(JavaVersion _javaVersion) { return Collections.emptyList(); } }