diff options
Diffstat (limited to '.github/ci-gradle.properties')
-rw-r--r-- | .github/ci-gradle.properties | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/.github/ci-gradle.properties b/.github/ci-gradle.properties index f2ca8940..1d47f55b 100644 --- a/.github/ci-gradle.properties +++ b/.github/ci-gradle.properties @@ -3,4 +3,16 @@ # SPDX-License-Identifier: GPL-3.0-only # -org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 +# Add opens for KAPT +# https://youtrack.jetbrains.com/issue/KT-45545#focus=Comments-27-4862682.0-0 +org.gradle.jvmargs=-Xmx2048m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 \ + --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.comp=ALL-UNNAMED \ + --add-opens=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED \ + --add-opens=jdk.compiler/com.sun.tools.javac.jvm=ALL-UNNAMED \ + --add-opens=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED \ + --add-opens=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED \ + --add-opens=jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED \ + --add-opens=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED \ + --add-opens=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED |