Skip to content

Commit

Permalink
Remove explicit line endings configuration for Spotless
Browse files Browse the repository at this point in the history
Due to the recent upgrade to Spotless 2.0, it should (theoretically) no
longer be necessary to provide explicit `lineEndings` configuration.

Issue: #404
  • Loading branch information
sbrannen committed Aug 16, 2016
1 parent b0c7ee7 commit 48de982
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ allprojects {
eclipseFormatFile rootProject.file('src/eclipse/junit-eclipse-formatter-settings.xml')

trimTrailingWhitespace()
lineEndings 'UNIX'
endWithNewline()

custom 'Lambda fix', { it.replace('} )', '})').replace('} ,', '},') }
Expand Down Expand Up @@ -396,13 +395,11 @@ configure(rootProject) {
target '**/*.gradle', '**/*.gitignore'
indentWithTabs()
trimTrailingWhitespace()
lineEndings 'UNIX'
endWithNewline()
}
format 'documentation', {
target '**/*.adoc', '**/*.md'
trimTrailingWhitespace()
lineEndings 'UNIX'
endWithNewline()
}
}
Expand Down

0 comments on commit 48de982

Please sign in to comment.