Excavator: Upgrades Baseline to the latest version (#187)

This commit is contained in:
Excavator Bot 2019-09-24 14:36:30 +01:00 committed by bulldozer-bot[bot]
parent 1162369a0a
commit a74bcc6845
4 changed files with 4 additions and 4 deletions

View file

@ -469,7 +469,7 @@
<module name="NestedTryDepth"/> <!-- Java Coding Guide: Try/catch blocks: never nested -->
<module name="NonEmptyAtclauseDescription"/> <!-- Java Style Guide: At-clauses -->
<module name="ParameterName"> <!-- Java Style Guide: Parameter names -->
<property name="format" value="^[a-z][a-zA-Z0-9]+$"/>
<property name="format" value="^_?[a-z][a-zA-Z0-9]+$"/>
<message key="name.invalidPattern" value="Parameter name ''{0}'' must match pattern ''{1}''."/>
</module>
<module name="SingleLineJavadoc"/> <!-- Java Style Guide: General form -->

View file

@ -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:13.6.1'
classpath 'com.palantir.baseline:gradle-baseline-java:2.6.0'
classpath 'com.palantir.baseline:gradle-baseline-java:2.10.1'
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'

View file

@ -82,7 +82,7 @@ public class NativeImageTask extends BaseGraalCompileTask {
private class LogAction implements Action<Task> {
@Override
public void execute(Task task) {
public void execute(Task _task) {
getLogger().warn("native image available at {} ({} MB)",
getProject().relativePath(getOutputFile().get().getAsFile()),
fileSizeMegabytes(getOutputFile().get()));

View file

@ -70,7 +70,7 @@ public class SharedLibraryTask extends BaseGraalCompileTask {
private class LogAction implements Action<Task> {
@Override
public void execute(Task task) {
public void execute(Task _task) {
getLogger().warn("shared library available at {} ({} MB)",
getProject().relativePath(getOutputFile().get().getAsFile()),
fileSizeMegabytes(getOutputFile().get()));