Skip to content

Commit

Permalink
Revert "Improve config of Groovy formatting"
Browse files Browse the repository at this point in the history
This reverts commit 1adc60d.
  • Loading branch information
ajoberstar committed Dec 29, 2018
1 parent c806e80 commit 0acc025
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,14 +98,16 @@ class DefaultsPlugin implements Plugin<Project> {
}
project.plugins.withId('groovy') {
groovy {
excludeJava()
importOrder 'java', 'javax', 'groovy', ''
removeUnusedImports()
greclipse().configFile(project.rootProject.file('gradle/eclipse-java-formatter.xml'))
}
}
groovyGradle {
format 'gradle', {
target '**/*.gradle'
greclipse().configFile(project.rootProject.file('gradle/eclipse-java-formatter.xml'))
trimTrailingWhitespace()
indentWithSpaces(2)
endWithNewline()
}
}
}
Expand Down

0 comments on commit 0acc025

Please sign in to comment.