From b572a5e4c9887dcd1ce521e175c3a52ad70aec89 Mon Sep 17 00:00:00 2001 From: Anthony Stirling <77850077+Frooodle@users.noreply.github.com> Date: Sat, 30 Dec 2023 19:37:46 +0000 Subject: [PATCH] auto run spotlessapply --- build.gradle | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build.gradle b/build.gradle index 95a0930d..94903c1c 100644 --- a/build.gradle +++ b/build.gradle @@ -150,6 +150,9 @@ dependencies { annotationProcessor 'org.projectlombok:lombok:1.18.28' } +tasks.withType(JavaCompile) { + dependsOn 'spotlessApply' +} task writeVersion { def propsFile = file('src/main/resources/version.properties')