Skip to content

Commit b899e18

Browse files
authored
Remove workaround (#2860)
1 parent 1f2e858 commit b899e18

File tree

1 file changed

+3
-13
lines changed

1 file changed

+3
-13
lines changed

gradle.properties

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,9 @@ org.gradle.caching=true
66

77
org.gradle.priority=low
88

9-
# Gradle default is 256m which causes issues with our build - https://docs.gradle.org/current/userguide/build_environment.html#sec:configuring_jvm_memory
10-
# Also workaround https://github.com/diffplug/spotless/issues/834
11-
org.gradle.jvmargs=-XX:MaxMetaspaceSize=512m \
12-
--add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED \
13-
--add-exports jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED \
14-
--add-exports=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED \
15-
--add-exports=jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED \
16-
--add-exports jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED \
17-
--add-exports=jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED \
18-
--add-exports jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED \
19-
--add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED \
20-
--add-opens=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED \
21-
--add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED
9+
# Gradle default for MaxMetaspaceSize is 256m which causes issues with our build
10+
# (see https://docs.gradle.org/current/userguide/build_environment.html#sec:configuring_jvm_memory)
11+
org.gradle.jvmargs=-XX:MaxMetaspaceSize=512m
2212

2313
# org.gradle.warning.mode=fail
2414

0 commit comments

Comments
 (0)