summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2023-11-27 02:22:13 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2023-11-27 02:22:13 +0530
commit380891a1a1c3f5481ae6ea671da0a6ff299dc15b (patch)
tree5787c72bb04609b98236ac6d90189f07b8bcb299
parent826483a0e13d527399accb15243d21dc0902d47e (diff)
fix(build): raise heap size and drop obsolete workaround
-rw-r--r--gradle.properties26
1 files changed, 1 insertions, 25 deletions
diff --git a/gradle.properties b/gradle.properties
index bb51d2a3..6f1f929c 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -57,28 +57,4 @@ GROUP=com.github.android-password-store
SONATYPE_CONNECT_TIMEOUT_SECONDS=120
SONATYPE_CLOSE_TIMEOUT_SECONDS=1800
-# Add opens for KAPT
-# https://youtrack.jetbrains.com/issue/KT-45545#focus=Comments-27-4862682.0-0
-org.gradle.jvmargs=-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
-
-kotlin.daemon.jvmargs=-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
+org.gradle.jvmargs=-Xmx4096m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8