Skip to content

Commit

Permalink
Remove workaround (#2860)
Browse files Browse the repository at this point in the history
  • Loading branch information
trask authored Jan 18, 2023
1 parent 1f2e858 commit b899e18
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit b899e18

Please sign in to comment.