diff --git a/spring-beans/spring-beans.gradle b/spring-beans/spring-beans.gradle index 0e96708115..71dac23e74 100644 --- a/spring-beans/spring-beans.gradle +++ b/spring-beans/spring-beans.gradle @@ -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