diff --git a/.baseline/checkstyle/checkstyle.xml b/.baseline/checkstyle/checkstyle.xml index 6803583..1a086c4 100644 --- a/.baseline/checkstyle/checkstyle.xml +++ b/.baseline/checkstyle/checkstyle.xml @@ -1,15 +1,9 @@ - - - - - + --> @@ -191,12 +185,9 @@ - - - - + - + @@ -237,7 +228,7 @@ - + @@ -403,16 +394,7 @@ - - - - - - - - - - + @@ -461,4 +443,4 @@ - + \ No newline at end of file diff --git a/build.gradle b/build.gradle index fce4cf8..573f17d 100644 --- a/build.gradle +++ b/build.gradle @@ -5,6 +5,7 @@ buildscript { } dependencies { + classpath 'com.palantir.javaformat:gradle-palantir-java-format:2.28.0' classpath 'com.gradle.publish:plugin-publish-plugin:0.21.0' classpath 'com.palantir.baseline:gradle-baseline-java:4.95.0' classpath 'com.palantir.gradle.consistentversions:gradle-consistent-versions:2.9.0' @@ -12,6 +13,9 @@ buildscript { classpath 'com.palantir.gradle.gitversion:gradle-git-version:0.14.0' } } +allprojects { + apply plugin: 'com.palantir.java-format' +} apply plugin: 'groovy' apply plugin: 'eclipse'