Skip to content

Commit

Permalink
Try to reduce CI failures due to maven central flakiness (#7164)
Browse files Browse the repository at this point in the history
Worth trying, the failures have really picked up lately...
  • Loading branch information
trask committed Nov 15, 2022
1 parent 4e36285 commit 32995ab
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 32995ab

Please sign in to comment.