Skip to content

Commit 665b9d1

Browse files
committed
build(Gradle): On fail on script compilation warnings
Align with the main compiler settings and also fail the build if compiler warnings occur in the Gradle Kotlin script build files. Signed-off-by: Sebastian Schuberth <[email protected]>
1 parent ace14da commit 665b9d1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

gradle.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717

1818
org.gradle.caching = true
1919
org.gradle.jvmargs = -Xmx2g -XX:MaxMetaspaceSize=1g -Dfile.encoding=UTF-8
20+
org.gradle.kotlin.dsl.allWarningsAsErrors = true
2021
org.gradle.parallel = true
2122

2223
kotlin.code.style = official

0 commit comments

Comments
 (0)