From b0766c03dab3d29dfc6681fd378b5613a16dfbfd Mon Sep 17 00:00:00 2001 From: MiniDigger | Martin Date: Wed, 19 Jul 2023 20:34:12 +0200 Subject: [PATCH] fix: always use LF line endings in patches --- .../src/main/kotlin/io/papermc/mache/tasks/ApplyPatches.kt | 1 + .../src/main/kotlin/io/papermc/mache/tasks/RebuildPatches.kt | 1 + 2 files changed, 2 insertions(+) diff --git a/build-logic/src/main/kotlin/io/papermc/mache/tasks/ApplyPatches.kt b/build-logic/src/main/kotlin/io/papermc/mache/tasks/ApplyPatches.kt index a9baad8..d93a23b 100644 --- a/build-logic/src/main/kotlin/io/papermc/mache/tasks/ApplyPatches.kt +++ b/build-logic/src/main/kotlin/io/papermc/mache/tasks/ApplyPatches.kt @@ -72,6 +72,7 @@ abstract class ApplyPatches : DefaultTask() { .verbose(true) .summary(true) .logTo(ps) + .lineEnding("\n") .build() .operate() diff --git a/build-logic/src/main/kotlin/io/papermc/mache/tasks/RebuildPatches.kt b/build-logic/src/main/kotlin/io/papermc/mache/tasks/RebuildPatches.kt index 6f77eea..2221a50 100644 --- a/build-logic/src/main/kotlin/io/papermc/mache/tasks/RebuildPatches.kt +++ b/build-logic/src/main/kotlin/io/papermc/mache/tasks/RebuildPatches.kt @@ -69,6 +69,7 @@ abstract class RebuildPatches : DefaultTask() { .level(Level.FINE) .verbose(true) .summary(true) + .lineEnding("\n") .build() .operate()