Skip to content

Commit

Permalink
Use unix line endings
Browse files Browse the repository at this point in the history
  • Loading branch information
ryandens committed Jun 29, 2023
1 parent 5f43528 commit 3fb6ce2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import com.diffplug.spotless.LineEnding

plugins {
id("com.diffplug.spotless") version "6.15.0"
}
Expand All @@ -16,6 +18,7 @@ allprojects {
}

spotless {
this.lineEndings = LineEnding.UNIX
project.plugins.withId("java") {
java {
googleJavaFormat()
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ org.gradle.jvmargs=--add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAME
--add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED
org.gradle.unsafe.configuration-cache=true
org.gradle.caching=true
org.gradle.configuration-cache.max-problems=2

0 comments on commit 3fb6ce2

Please sign in to comment.