We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e02ac05 commit 008a719Copy full SHA for 008a719
picocli-annotation-processing-tests/build.gradle
@@ -21,6 +21,12 @@ dependencies {
21
testImplementation files(org.gradle.internal.jvm.Jvm.current().getToolsJar()) // needed on Java 8: https://github.com/google/compile-testing/issues/102 (and #28)
22
}
23
24
+tasks.withType(Test.class) {
25
+ if (org.gradle.api.JavaVersion.current().isJava12Compatible()) { // only a problem from Java 16, but okay
26
+ it.jvmArgs '--add-opens=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED' // https://github.com/google/compile-testing/issues/222
27
+ }
28
+}
29
+
30
jar {
31
manifest {
32
attributes 'Specification-Title': 'Picocli Annotation Processing Tests',
0 commit comments