Fail on warnings with compileGroovy (since it compiles Java code as well)

(cherry picked from commit d77ecb26a9)
This commit is contained in:
Juergen Hoeller
2020-10-16 15:44:29 +02:00
parent f49e0e36ff
commit 6d18ead0b7
+1
View File
@@ -21,6 +21,7 @@ sourceSets {
compileGroovy {
sourceCompatibility = 1.8
targetCompatibility = 1.8
options.compilerArgs += "-Werror"
}
// This module also builds Kotlin code and the compileKotlin task naturally depends on