Skip to content

Commit 87643db

Browse files
committed
Add proc:none to avoid test compile warnings in gradle
1 parent e3eefd9 commit 87643db

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

build.gradle

+4
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ repositories {
2424
jcenter()
2525
}
2626

27+
// Log4J has annotation processors, disable to avoid warning
28+
tasks.withType(JavaCompile) { options.compilerArgs << "-proc:none" }
29+
tasks.withType(GroovyCompile) { options.compilerArgs << "-proc:none" }
30+
2731
dependencies {
2832
compile project(':framework')
2933
testCompile project(':framework').configurations.testCompile.allDependencies

0 commit comments

Comments
 (0)