Эх сурвалжийг харах

Try to reduce CI failures due to maven central flakiness (#7164)

Worth trying, the failures have really picked up lately...
Trask Stalnaker 2 жил өмнө
parent
commit
32995ab0c4
1 өөрчлөгдсөн 8 нэмэгдсэн , 0 устгасан
  1. 8 0
      gradle.properties

+ 8 - 0
gradle.properties

@@ -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