diff --git a/build.gradle.kts b/build.gradle.kts index d5fd6b12de..fc22e774f2 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -3,6 +3,7 @@ // plugin configuration must precede everything else // +import com.diffplug.spotless.LineEnding.PLATFORM_NATIVE import com.github.benmanes.gradle.versions.updates.DependencyUpdatesTask buildscript { dependencies.classpath(libs.commons.io) } @@ -99,6 +100,11 @@ shellcheck { tasks.named("shellcheck") { group = "verification" } +// Workaround for +// using idea found at +// . +spotless.lineEndings = PLATFORM_NATIVE + // install Java reformatter as git pre-commit hook tasks.register("installGitHooks") { from("config/hooks/pre-commit-stub")