diff --git a/build.gradle b/build.gradle index 5f079b0..ad2037e 100644 --- a/build.gradle +++ b/build.gradle @@ -50,9 +50,9 @@ sourceSets { } compileJava.options.encoding = 'UTF-8' -compileJava.options << '-Xlint:all' +compileJava.options.compilerArgs << '-Xlint:all' compileTestJava.options.encoding = 'UTF-8' -compileTestJava.options.options << '-Xlint:all' +compileTestJava.options.compilerArgs << '-Xlint:all' javadoc.options.encoding = 'UTF-8' jar {