Skip to content

Commit 81326fe

Browse files
committed
Turn off classfile lint for the time being
1 parent 430e89e commit 81326fe

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

build.gradle.kts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ publishingConventions {
1919

2020
testingConventions { testGradleVersions("6.8.3", "6.9.4", "7.6.5", "8.14.2") }
2121

22+
// Turn off classfile lint as long as we still compile with Java 8
23+
// /org/objectweb/asm/ClassReader.class: Cannot find annotation method 'forRemoval()' in type 'Deprecated'
24+
tasks.compileJava { options.compilerArgs.add("-Xlint:-classfile") }
25+
2226
// === the following custom configuration should be removed once tests are migrated to Java
2327
apply(plugin = "groovy")
2428

0 commit comments

Comments
 (0)