diff --git a/build.gradle b/build.gradle index 133c864..c7bbb4f 100644 --- a/build.gradle +++ b/build.gradle @@ -38,6 +38,10 @@ repositories { jcenter() } +// Log4J has annotation processors, disable to avoid warning +tasks.withType(JavaCompile) { options.compilerArgs << "-proc:none" } +tasks.withType(GroovyCompile) { options.compilerArgs << "-proc:none" } + dependencies { compile project(':framework') @@ -71,7 +75,9 @@ dependencies { } // by default the Java plugin runs test on build, change to not do that (only run test if explicit task) -check.dependsOn.remove(test) +// no longer workds as of gradle 4.8 or possibly earlier, use clear() instead: check.dependsOn.remove(test) +check.dependsOn.clear() + task cleanLib(type: Delete) { delete fileTree(dir: projectDir.absolutePath+'/lib', include: '*') } clean.dependsOn cleanLib