Skip to content

Commit 52d9a30

Browse files
smyrickdariuszkuc
authored andcommitted
Update nexus publish timeout (#575)
Increase the default timeout of publish to 5 minutes (60 attempts at 5 seconds)
1 parent f4cd128 commit 52d9a30

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

build.gradle.kts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,9 +187,11 @@ tasks {
187187
nexusStaging {
188188
username = System.getenv("SONATYPE_USERNAME")
189189
password = System.getenv("SONATYPE_PASSWORD")
190-
191190
packageGroup = rootProject.group.toString()
191+
numberOfRetries = 60
192+
delayBetweenRetriesInMillis = 5000
192193
}
194+
193195
val publish by getting
194196
publish.dependsOn(":initializeSonatypeStagingRepository")
195197
}

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ dokkaVersion = 0.10.0
2626
jacocoVersion = 0.8.5
2727
ktlintVersion = 0.36.0
2828
ktlintPluginVersion = 9.1.1
29-
nexusPublishPluginVersion = 0.3.0
29+
nexusPublishPluginVersion = 0.4.0
3030
stagingPluginVersion = 0.21.2

0 commit comments

Comments
 (0)