summaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
authorFabian Mastenbroek <mail.fabianm@gmail.com>2020-03-16 19:55:22 +0100
committerFabian Mastenbroek <mail.fabianm@gmail.com>2020-03-16 19:55:22 +0100
commite3e3128464e1a488cd14b8d29a3d24eac3572dbb (patch)
tree797fc4bb12293887051ec494c5c0aedb21c71013 /.gitattributes
parentccde4082af2d32da0332b6b87741a73d9b01f587 (diff)
bug: Fix Gradle build on Windows
This change adds a workaround for the Windows build where Gradle fails to compile the Kotlin code in `buildSrc` due to CRLF line endings. See https://github.com/gradle/gradle/issues/12248
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes3
1 files changed, 3 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
index 71fa4d41..12924725 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -2,3 +2,6 @@
#
# These are explicitly windows files and should use crlf
*.bat text eol=crlf
+
+# See https://github.com/gradle/gradle/issues/12248
+buildSrc/src/main/**/*.gradle.kts text eol=lf