From b899e182ba917ae641ff3202b08d73f4a305c6eb Mon Sep 17 00:00:00 2001 From: Trask Stalnaker Date: Wed, 18 Jan 2023 12:07:19 -0800 Subject: [PATCH] Remove workaround (#2860) --- gradle.properties | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/gradle.properties b/gradle.properties index 4f8820be407..b5c0f4b57fc 100644 --- a/gradle.properties +++ b/gradle.properties @@ -6,19 +6,9 @@ org.gradle.caching=true org.gradle.priority=low -# Gradle default is 256m which causes issues with our build - https://docs.gradle.org/current/userguide/build_environment.html#sec:configuring_jvm_memory -# Also workaround https://github.com/diffplug/spotless/issues/834 -org.gradle.jvmargs=-XX:MaxMetaspaceSize=512m \ - --add-exports jdk.compiler/com.sun.tools.javac.api=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.model=ALL-UNNAMED \ - --add-exports jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED \ - --add-exports=jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED \ - --add-exports jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED \ - --add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED \ - --add-opens=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED \ - --add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED +# Gradle default for MaxMetaspaceSize is 256m which causes issues with our build +# (see https://docs.gradle.org/current/userguide/build_environment.html#sec:configuring_jvm_memory) +org.gradle.jvmargs=-XX:MaxMetaspaceSize=512m # org.gradle.warning.mode=fail