From cacf6130ea1d758c627551763b56e693b4fe4166 Mon Sep 17 00:00:00 2001 From: svc-excavator-bot Date: Sat, 4 Feb 2023 08:02:49 +0000 Subject: [PATCH] Excavator: Format Java files --- .baseline/checkstyle/checkstyle.xml | 32 +++++++---------------------- build.gradle | 4 ++++ 2 files changed, 11 insertions(+), 25 deletions(-) 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'