From 9a2cc6e34c1ad5841162369118676f93a3bf831f Mon Sep 17 00:00:00 2001 From: xkball <45330674+xkball@users.noreply.github.com> Date: Tue, 15 Oct 2024 22:51:51 +0800 Subject: [PATCH] try fix ap apply for GitHub action Took 7 minutes --- TinTeaTechAnnotationProcessor/build.gradle | 1 + build.gradle | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/TinTeaTechAnnotationProcessor/build.gradle b/TinTeaTechAnnotationProcessor/build.gradle index e63e790..348dfa5 100644 --- a/TinTeaTechAnnotationProcessor/build.gradle +++ b/TinTeaTechAnnotationProcessor/build.gradle @@ -45,6 +45,7 @@ tasks.named("shadowJar"){ tasks.register("buildAndCopyAnnotationProcessor",Copy){ dependsOn shadowJar + delete fileTree("../libs/annotation_processor") from shadowJar.archiveFile.get().asFile into "../libs/annotation_processor" } diff --git a/build.gradle b/build.gradle index ec152f7..7362a03 100644 --- a/build.gradle +++ b/build.gradle @@ -201,7 +201,6 @@ tasks.withType(JavaCompile).configureEach { options.forkOptions.jvmArgs.add('--add-opens=jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED') options.forkOptions.jvmArgs.add('-ea') } - options.compilerArgs.add('--add-exports=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED') options.compilerArgs.add('--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED') options.compilerArgs.add('--add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED')