gradle.properties 1.2 KB

1234567891011121314151617181920212223242526
  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. org.gradle.jvmargs=-XX:MaxMetaspaceSize=512m
  6. # Currently causes failure when importing project in IntelliJ
  7. # org.gradle.warning.mode=fail
  8. # To allow caching more tasks in buildSrc project
  9. # This property is not mentioned in Gradle documentation
  10. # See https://github.com/gradle/gradle/issues/15214 for background info
  11. systemProp.org.gradle.kotlin.dsl.precompiled.accessors.strict=true
  12. # Workaround https://youtrack.jetbrains.com/issue/KT-34862
  13. kotlin.incremental=false
  14. # Try to reduce CI failures due to maven central flakiness
  15. # in particular this has been a problem for maven-metadata.xml files, which are TTL'd quickly out of
  16. # the gradle cache since they contain the latest versions available in maven central
  17. systemProp.org.gradle.internal.http.connectionTimeout=120000
  18. systemProp.org.gradle.internal.http.socketTimeout=120000
  19. systemProp.org.gradle.internal.repository.max.retries=10
  20. systemProp.org.gradle.internal.repository.initial.backoff=500