Skip to content

Commit

Permalink
Increased timeout for maven central publishing.
Browse files Browse the repository at this point in the history
  • Loading branch information
jverbus committed Apr 8, 2021
1 parent 5c9c015 commit 6c6084a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions gradle/release.gradle
@@ -1,3 +1,5 @@
import java.time.Duration

//
// Shipkit tasks
//
Expand Down Expand Up @@ -36,4 +38,14 @@ nexusPublishing {
}
}
}

connectTimeout = Duration.ofMinutes(15)
clientTimeout = Duration.ofMinutes(15)

transitionCheckOptions {
// We have many artifacts so Maven Central takes a long time on its compliance checks. This sets the timeout for
// waiting for the repository to close to a comfortable 60 minutes.
maxRetries.set(360)
delayBetween.set(Duration.ofSeconds(10))
}
}

0 comments on commit 6c6084a

Please sign in to comment.