Skip to content

Commit d77ecb2

Browse files
committed
Fail on warnings with compileGroovy (since it compiles Java code as well)
1 parent c45b106 commit d77ecb2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

spring-beans/spring-beans.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ sourceSets {
2525
compileGroovy {
2626
sourceCompatibility = 1.8
2727
targetCompatibility = 1.8
28+
options.compilerArgs += "-Werror"
2829
}
2930

3031
// This module also builds Kotlin code and the compileKotlin task naturally depends on

0 commit comments

Comments
 (0)