From 170da3c35906b8057644f622d675fd03eb9a337e Mon Sep 17 00:00:00 2001
From: Excavator Bot <33266368+svc-excavator-bot@users.noreply.github.com>
Date: Fri, 15 Nov 2019 18:53:16 +0000
Subject: [PATCH] Excavator: Upgrades Baseline to the latest version (#228)
---
.baseline/checkstyle/checkstyle.xml | 8 +++-----
build.gradle | 2 +-
.../java/com/palantir/gradle/graal/NativeImageTask.java | 2 +-
.../java/com/palantir/gradle/graal/SharedLibraryTask.java | 2 +-
4 files changed, 6 insertions(+), 8 deletions(-)
diff --git a/.baseline/checkstyle/checkstyle.xml b/.baseline/checkstyle/checkstyle.xml
index 43ec38a..d1d0ffa 100644
--- a/.baseline/checkstyle/checkstyle.xml
+++ b/.baseline/checkstyle/checkstyle.xml
@@ -53,6 +53,9 @@
+
+
+
@@ -112,7 +115,6 @@
-
@@ -371,10 +373,6 @@
-
-
-
-
diff --git a/build.gradle b/build.gradle
index 51d6a52..9c81890 100644
--- a/build.gradle
+++ b/build.gradle
@@ -26,7 +26,7 @@ buildscript {
classpath 'com.gradle.publish:plugin-publish-plugin:0.10.0'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4'
classpath 'com.netflix.nebula:nebula-publishing-plugin:14.1.1'
- classpath 'com.palantir.baseline:gradle-baseline-java:2.27.0'
+ classpath 'com.palantir.baseline:gradle-baseline-java:2.31.0'
classpath 'com.palantir.gradle.consistentversions:gradle-consistent-versions:1.12.4'
classpath 'com.palantir.gradle.gitversion:gradle-git-version:0.12.2'
classpath 'gradle.plugin.org.inferred:gradle-processors:3.1.0'
diff --git a/src/main/java/com/palantir/gradle/graal/NativeImageTask.java b/src/main/java/com/palantir/gradle/graal/NativeImageTask.java
index 90afaed..98a829f 100644
--- a/src/main/java/com/palantir/gradle/graal/NativeImageTask.java
+++ b/src/main/java/com/palantir/gradle/graal/NativeImageTask.java
@@ -80,7 +80,7 @@ public class NativeImageTask extends BaseGraalCompileTask {
mainClass.set(provider);
}
- private class LogAction implements Action {
+ private final class LogAction implements Action {
@Override
public void execute(Task _task) {
getLogger().warn("native image available at {} ({} MB)",
diff --git a/src/main/java/com/palantir/gradle/graal/SharedLibraryTask.java b/src/main/java/com/palantir/gradle/graal/SharedLibraryTask.java
index 4a891ee..32affc3 100644
--- a/src/main/java/com/palantir/gradle/graal/SharedLibraryTask.java
+++ b/src/main/java/com/palantir/gradle/graal/SharedLibraryTask.java
@@ -68,7 +68,7 @@ public class SharedLibraryTask extends BaseGraalCompileTask {
});
}
- private class LogAction implements Action {
+ private final class LogAction implements Action {
@Override
public void execute(Task _task) {
getLogger().warn("shared library available at {} ({} MB)",