From d77ecb26a9548a6b9b74b3b69bc844e57c2bfe0d Mon Sep 17 00:00:00 2001 From: Juergen Hoeller Date: Fri, 16 Oct 2020 15:18:48 +0200 Subject: [PATCH] Fail on warnings with compileGroovy (since it compiles Java code as well) --- spring-beans/spring-beans.gradle | 1 + 1 file changed, 1 insertion(+) diff --git a/spring-beans/spring-beans.gradle b/spring-beans/spring-beans.gradle index 0e967081150..71dac23e74f 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