Skip to content

Commit

Permalink
Fail on warnings with compileGroovy (since it compiles Java code as w…
Browse files Browse the repository at this point in the history
…ell)

(cherry picked from commit d77ecb2)
  • Loading branch information
jhoeller committed Oct 16, 2020
1 parent 1c120f0 commit 9fa3ac8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spring-beans/spring-beans.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9fa3ac8

Please sign in to comment.