diff --git a/spring-beans/spring-beans.gradle b/spring-beans/spring-beans.gradle index 3d8cf915645..70c759381bf 100644 --- a/spring-beans/spring-beans.gradle +++ b/spring-beans/spring-beans.gradle @@ -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