|
@@ -1,6 +1,7 @@
|
|
|
org.gradle.warning.mode=none
|
|
|
org.gradle.parallel=true
|
|
|
-org.gradle.jvmargs=-XX:+HeapDumpOnOutOfMemoryError -Xss2m
|
|
|
+# We need to declare --add-exports to make spotless working seamlessly with jdk16
|
|
|
+org.gradle.jvmargs=-XX:+HeapDumpOnOutOfMemoryError -Xss2m --add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED
|
|
|
|
|
|
# Disable duplicate project id detection
|
|
|
# See https://docs.gradle.org/current/userguide/upgrading_version_6.html#duplicate_project_names_may_cause_publication_to_fail
|