Skip to content

Commit 2551e5a

Browse files
committed
chore: Add code formatter
1 parent e037c46 commit 2551e5a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

build.gradle

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
plugins {
22
id "com.github.nbaztec.coveralls-jacoco" version "1.2.14"
3+
id "com.diffplug.spotless" version "6.2.0"
34
id "checkstyle"
45
id "jacoco"
56
id "java"
@@ -151,6 +152,13 @@ artifacts {
151152
archives sourcesJar, javadocJar
152153
}
153154

155+
spotless {
156+
java {
157+
googleJavaFormat "1.7"
158+
target "src/**/*.java"
159+
}
160+
}
161+
154162
test {
155163
useJUnit {
156164
excludeCategories "com.box.sdk.IntegrationTestJWT"

0 commit comments

Comments
 (0)