From 4e2dfee23256ccdcec1a916ee760f68f5efc36e7 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 (cherry picked from commit 300a09f0b6a5c7ffe8b3d4c480873a379ab3effc) --- build.gradle.kts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/build.gradle.kts b/build.gradle.kts index 991dec161..e131d983c 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,3 +1,5 @@ +import java.time.Duration + plugins { `java-library` alias(libs.plugins.blossom) @@ -120,6 +122,11 @@ tasks { useStaging.set(true) this.packageGroup.set("net.minestom") + 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/"))