Try to reduce CI failures due to maven central flakiness
Worth trying, the failures have really picked up lately...
@@ -27,3 +27,11 @@ systemProp.org.gradle.kotlin.dsl.precompiled.accessors.strict=true
# Workaround https://youtrack.jetbrains.com/issue/KT-34862
kotlin.incremental=false
+
+# Try to reduce CI failures due to maven central flakiness
+# in particular this has been a problem for maven-metadata.xml files, which are TTL'd quickly out of
+# the gradle cache since they contain the latest versions available in maven central
+systemProp.org.gradle.internal.http.connectionTimeout=120000
+systemProp.org.gradle.internal.http.socketTimeout=120000
+systemProp.org.gradle.internal.repository.max.retries=10
+systemProp.org.gradle.internal.repository.initial.backoff=500
