diff --git a/gradle/release.gradle b/gradle/release.gradle index d5690c5..60753fd 100644 --- a/gradle/release.gradle +++ b/gradle/release.gradle @@ -1,3 +1,5 @@ +import java.time.Duration + // // Shipkit tasks // @@ -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)) + } }