From 488920c282bf90a48e2d2f076295ea1b2e18673e Mon Sep 17 00:00:00 2001 From: Benoit Quenaudon Date: Tue, 16 Jan 2024 17:29:57 +0000 Subject: [PATCH] Increase delayBetween when releasing artifacts on Sonatype --- build.gradle.kts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build.gradle.kts b/build.gradle.kts index f40b63b3..6f772dec 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,4 +1,5 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile +import java.time.Duration plugins { `java-library` @@ -229,6 +230,10 @@ githubRelease { } nexusPublishing { + transitionCheckOptions { + // Default is set at 10 seconds. + delayBetween.set(Duration.ofSeconds(60)) + } repositories { sonatype() }