From 300a09f0b6a5c7ffe8b3d4c480873a379ab3effc Mon Sep 17 00:00:00 2001 From: mworzala Date: Wed, 29 Nov 2023 23:41:07 +0200 Subject: [PATCH] chore: increase publish timeout to 1h --- build.gradle.kts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/build.gradle.kts b/build.gradle.kts index b90560d7a..3ed50b170 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,3 +1,5 @@ +import java.time.Duration + plugins { `java-library` alias(libs.plugins.blossom) @@ -116,6 +118,11 @@ tasks { useStaging.set(true) this.packageGroup.set("dev.hollowcube") + transitionCheckOptions { + maxRetries.set(360) // 1 hour + delayBetween.set(Duration.ofSeconds(10)) + } + repositories.sonatype { nexusUrl.set(uri("https://s01.oss.sonatype.org/service/local/")) snapshotRepositoryUrl.set(uri("https://s01.oss.sonatype.org/content/repositories/snapshots/"))