Skip to content

Commit f6a5cc2

Browse files
committed
🔧 configure nexus plugin to try 100 times rather than 60 times due to timeouts waiting for resository to transition
1 parent a23533c commit f6a5cc2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

build.gradle.kts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import java.time.Duration
2+
13
plugins {
24
alias(buildlibs.plugins.nexus.publish)
35
id("io.codemodder.base")
@@ -10,6 +12,10 @@ nexusPublishing {
1012
snapshotRepositoryUrl.set(uri("https://s01.oss.sonatype.org/content/repositories/snapshots/"))
1113
}
1214
}
15+
transitionCheckOptions {
16+
maxRetries.set(80) // default is 60 but we've been seeing timeouts
17+
delayBetween.set(Duration.ofSeconds(30)) // default is 10 seconds
18+
}
1319
}
1420

1521

0 commit comments

Comments
 (0)