Skip to content

Commit 79507df

Browse files
committed
Use eclipse formatter instead of google's apache#14257
1 parent 42fc708 commit 79507df

File tree

2 files changed

+340
-2
lines changed

2 files changed

+340
-2
lines changed

gradle/validation/spotless.gradle

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
* spotless and Google Java Format.
2121
*/
2222

23-
// def resources = scriptResources(buildscript)
23+
def resources = scriptResources(buildscript)
2424

2525
configure(allprojects) { prj ->
2626
plugins.withType(JavaPlugin) {
@@ -36,7 +36,8 @@ configure(allprojects) { prj ->
3636

3737
lineEndings 'UNIX'
3838
endWithNewline()
39-
googleJavaFormat(deps.versions.googleJavaFormat.get())
39+
// googleJavaFormat(deps.versions.googleJavaFormat.get())
40+
eclipse().configFile(file("${resources}/eclipse-java-google-style.xml"))
4041

4142
// Apply to all Java sources
4243
target "src/**/*.java"

0 commit comments

Comments
 (0)