Skip to content

Commit 6d18ead

Browse files
committed
Fail on warnings with compileGroovy (since it compiles Java code as well)
(cherry picked from commit d77ecb2)
1 parent f49e0e3 commit 6d18ead

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
@@ -21,6 +21,7 @@ sourceSets {
2121
compileGroovy {
2222
sourceCompatibility = 1.8
2323
targetCompatibility = 1.8
24+
options.compilerArgs += "-Werror"
2425
}
2526

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

0 commit comments

Comments
 (0)