summaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2020-01-12 20:29:38 +0100
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2020-01-12 20:29:38 +0100
commit4be112f6ad6ca385fabfa572233fb9db3c8b36e4 (patch)
tree3fdbab8a0003e0ab8fa24b14a105a0ea90da13a3 /build.gradle
parentfff9ae48291a600e8288884eac1c35362cf704ae (diff)
Enable Google Java Format in the Spotless plugin.
Change-Id: Ib2cbe5bb6a6eaaa11bc34b13653776a9ea3ea921
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle5
1 files changed, 5 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle
index 518e861..f436299 100644
--- a/build.gradle
+++ b/build.gradle
@@ -55,6 +55,11 @@ spotless {
scala {
scalafmt()
}
+
+ java {
+ googleJavaFormat()
+ removeUnusedImports()
+ }
}
sourceCompatibility = 13