From 380891a1a1c3f5481ae6ea671da0a6ff299dc15b Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Mon, 27 Nov 2023 02:22:13 +0530 Subject: fix(build): raise heap size and drop obsolete workaround --- gradle.properties | 26 +------------------------- 1 file changed, 1 insertion(+), 25 deletions(-) (limited to 'gradle.properties') 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 -- cgit v1.2.3