Skip to content

Commit

Permalink
fix: workaround for IntelliJ bug on import line in build.gradle (PR #766
Browse files Browse the repository at this point in the history
)
  • Loading branch information
jpstotz authored and skylot committed Oct 17, 2019
1 parent d1ac43d commit 3249a5e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import com.diffplug.spotless.LineEnding

plugins {
id 'org.sonarqube' version '2.7.1'
id 'com.github.ben-manes.versions' version '0.22.0'
Expand Down Expand Up @@ -93,7 +91,7 @@ spotless {
eclipse().configFile 'config/code-formatter/eclipse.xml'
removeUnusedImports()

lineEndings(LineEnding.UNIX)
lineEndings(com.diffplug.spotless.LineEnding.UNIX)
encoding("UTF-8")
trimTrailingWhitespace()
endWithNewline()
Expand All @@ -102,7 +100,7 @@ spotless {
target '**/*.gradle', '**/*.md', '**/*.xml', '**/.gitignore', '**/.properties'
targetExclude ".gradle/**", ".idea/**"

lineEndings(LineEnding.UNIX)
lineEndings(com.diffplug.spotless.LineEnding.UNIX)
encoding("UTF-8")
trimTrailingWhitespace()
endWithNewline()
Expand Down

0 comments on commit 3249a5e

Please sign in to comment.