diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2021-12-07 20:51:54 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-07 15:21:54 +0000 |
commit | 1df01a2f5486f400cac35af49f2fc474c5206204 (patch) | |
tree | c018633f54a96ac70ce3660fa2d4748175978bcd /.github/ci-gradle.properties | |
parent | 38bfcfdcaef8c71358b50171e384b88347ad3eed (diff) |
Upgrade workflows to use Java 17 (#1579)
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 |