Skip to content

Commit 411cb2a

Browse files
Fixing spotless groovy
1 parent 3e2aea0 commit 411cb2a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

gradle/scripts/spotless.gradle

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,16 @@ spotless {
2020
licenseHeader ie3LicHead
2121
// the Groovy Eclipse formatter extends the Java Eclipse formatter,
2222
// so it formats Java files by default (unless `excludeJava` is used).
23-
greclipse().configFile('greclipse.properties')
23+
// FIXME rolled back greclipse version https://github.com/diffplug/spotless/issues/1860
24+
greclipse('4.27').configFile('greclipse.properties')
2425
indentWithSpaces 2
2526
}
2627

2728
groovyGradle {
2829
// same as groovy, but for .gradle (defaults to '*.gradle')
2930
target '*.gradle', 'gradle/scripts/*.gradle'
30-
greclipse()
31+
// FIXME rolled back greclipse version https://github.com/diffplug/spotless/issues/1860
32+
greclipse('4.27')
3133
indentWithSpaces 2
3234
}
3335

0 commit comments

Comments
 (0)