Skip to content

Commit dca361b

Browse files
authored
Add gradle jvmargs to allow spotlessApply to work with newer Java. (triplea-game#10209)
Without this, running spotlessApply hits an error. See diffplug/spotless#834.
1 parent 7d0fab1 commit dca361b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

gradle.properties

+5
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
11
org.gradle.caching=true
2+
org.gradle.jvmargs=--add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED \
3+
--add-exports jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED \
4+
--add-exports jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED \
5+
--add-exports jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED \
6+
--add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED

0 commit comments

Comments
 (0)