From 7ac2645a634f8311e14faf53b7af7815d5aa4e04 Mon Sep 17 00:00:00 2001 From: Anuken Date: Sat, 11 Jun 2022 14:02:21 -0400 Subject: [PATCH] let's see if this changes anything --- build.gradle | 16 ++++++++-------- gradle.properties | 24 ++++++++++++------------ 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/build.gradle b/build.gradle index 5398173506..57b1a96a39 100644 --- a/build.gradle +++ b/build.gradle @@ -201,14 +201,14 @@ allprojects{ dependsOn clearCache options.forkOptions.jvmArgs += [ - '--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED', - '--add-exports=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED', - '--add-exports=jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED', - '--add-exports=jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED', - '--add-exports=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED', - '--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED', - '--add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED', - '--add-exports=java.base/sun.reflect.annotation=ALL-UNNAMED' + '--add-opens=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED', + '--add-opens=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED', + '--add-opens=jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED', + '--add-opens=jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED', + '--add-opens=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED', + '--add-opens=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED', + '--add-opens=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED', + '--add-opens=java.base/sun.reflect.annotation=ALL-UNNAMED' ] } } diff --git a/gradle.properties b/gradle.properties index dd42397641..0eeb3fce98 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,17 +1,17 @@ org.gradle.daemon=true org.gradle.jvmargs=-Xms256m -Xmx1024m --illegal-access=permit \ ---add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED \ ---add-exports=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED \ ---add-exports=jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED \ ---add-exports=jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED \ ---add-exports=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED \ ---add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED \ ---add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED \ ---add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED \ ---add-exports=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED \ ---add-exports=jdk.compiler/com.sun.tools.javac.jvm=ALL-UNNAMED \ ---add-exports=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED \ ---add-exports=java.base/sun.reflect.annotation=ALL-UNNAMED +--add-opens=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED \ +--add-opens=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED \ +--add-opens=jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED \ +--add-opens=jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED \ +--add-opens=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED \ +--add-opens=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED \ +--add-opens=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED \ +--add-opens=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED \ +--add-opens=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED \ +--add-opens=jdk.compiler/com.sun.tools.javac.jvm=ALL-UNNAMED \ +--add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED \ +--add-opens=java.base/sun.reflect.annotation=ALL-UNNAMED # Multithreaded kapt.use.worker.api=true