chore: increase publish timeout to 1h

This commit is contained in:
mworzala 2023-11-29 23:41:07 +02:00 committed by Matt Worzala
parent b6b0295961
commit 300a09f0b6

View File

@ -1,3 +1,5 @@
import java.time.Duration
plugins { plugins {
`java-library` `java-library`
alias(libs.plugins.blossom) alias(libs.plugins.blossom)
@ -116,6 +118,11 @@ tasks {
useStaging.set(true) useStaging.set(true)
this.packageGroup.set("dev.hollowcube") this.packageGroup.set("dev.hollowcube")
transitionCheckOptions {
maxRetries.set(360) // 1 hour
delayBetween.set(Duration.ofSeconds(10))
}
repositories.sonatype { repositories.sonatype {
nexusUrl.set(uri("https://s01.oss.sonatype.org/service/local/")) nexusUrl.set(uri("https://s01.oss.sonatype.org/service/local/"))
snapshotRepositoryUrl.set(uri("https://s01.oss.sonatype.org/content/repositories/snapshots/")) snapshotRepositoryUrl.set(uri("https://s01.oss.sonatype.org/content/repositories/snapshots/"))