Browse Source

Remove workaround (#7533)

Trask Stalnaker 2 years ago
parent
commit
ba980bd4a4
1 changed files with 1 additions and 12 deletions
  1. 1 12
      gradle.properties

+ 1 - 12
gradle.properties

@@ -4,18 +4,7 @@ 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
+org.gradle.jvmargs=-XX:MaxMetaspaceSize=512m
 
 # Currently causes failure when importing project in IntelliJ
 # org.gradle.warning.mode=fail