gradle.properties 1.4 KB

1234567891011121314151617181920212223242526272829
  1. org.gradle.parallel=true
  2. org.gradle.caching=true
  3. org.gradle.priority=low
  4. # Gradle default is 256m which causes issues with our build - https://docs.gradle.org/current/userguide/build_environment.html#sec:configuring_jvm_memory
  5. # Also workaround https://github.com/diffplug/spotless/issues/834
  6. org.gradle.jvmargs=-XX:MaxMetaspaceSize=512m \
  7. --add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED \
  8. --add-exports jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED \
  9. --add-exports=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED \
  10. --add-exports=jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED \
  11. --add-exports jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED \
  12. --add-exports=jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED \
  13. --add-exports jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED \
  14. --add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED \
  15. --add-opens=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED \
  16. --add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED
  17. # Currently causes failure when importing project in IntelliJ
  18. # org.gradle.warning.mode=fail
  19. # To allow caching more tasks in buildSrc project
  20. # This property is not mentioned in Gradle documentation
  21. # See https://github.com/gradle/gradle/issues/15214 for background info
  22. systemProp.org.gradle.kotlin.dsl.precompiled.accessors.strict=true
  23. # Workaround https://youtrack.jetbrains.com/issue/KT-34862
  24. kotlin.incremental=false