Fail on warnings with compileGroovy (since it compiles Java code as well)
This commit is contained in:
parent
c45b106d95
commit
d77ecb26a9
|
@ -25,6 +25,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
|
||||
|
|
Loading…
Reference in New Issue