org.gradle.warning.mode=all
org.gradle.parallel=true
org.gradle.caching=true

### Disable configuration cache for now: causing issues with spotless and version plugins
# org.gradle.configuration-cache=true
# org.gradle.configuration-cache.problems=warn

# Flags for google-java-format (optimize imports by spotless) for Java >= 16.
# Java < 9 will ignore unsupported flags (thanks to -XX:+IgnoreUnrecognizedVMOptions)
org.gradle.jvmargs=-XX:+IgnoreUnrecognizedVMOptions \
  --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.parser=ALL-UNNAMED' \
  --add-exports='jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED' \
  --add-exports='jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED'
