Skip to content

Commit

Permalink
Revert "Use greclipse formatter"
Browse files Browse the repository at this point in the history
This reverts commit 59b499f.
  • Loading branch information
ajoberstar committed Dec 29, 2018
1 parent 0acc025 commit 956aeeb
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,11 @@ class DefaultsPlugin implements Plugin<Project> {
}
}
project.plugins.withId('groovy') {
groovy {
importOrder 'java', 'javax', 'groovy', ''
removeUnusedImports()
greclipse().configFile(project.rootProject.file('gradle/eclipse-java-formatter.xml'))
format 'groovy', {
target 'src/**/*.groovy'
trimTrailingWhitespace()
indentWithSpaces(2)
endWithNewline()
}
}
format 'gradle', {
Expand Down

0 comments on commit 956aeeb

Please sign in to comment.