Skip to content

Commit e36f98d

Browse files
committed
[Build] Don't publish samples to Sonatype
- increase Sonatype state transition retries
1 parent e416777 commit e36f98d

File tree

4 files changed

+12
-1
lines changed

4 files changed

+12
-1
lines changed

build.gradle

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,15 @@ check {
4545
dependsOn checkstyleNohttp
4646
}
4747

48+
import java.time.Duration
49+
50+
nexusPublishing {
51+
transitionCheckOptions {
52+
maxRetries = 120
53+
delayBetween = Duration.ofSeconds(10)
54+
}
55+
}
56+
4857
subprojects { subproject ->
4958
task updateCopyrights {
5059
onlyIf { gitPresent && !System.getenv('GITHUB_ACTION') }
@@ -76,4 +85,3 @@ subprojects { subproject ->
7685
}
7786
}
7887
}
79-

spring-pulsar-sample-apps/sample-app1/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,5 @@ bootRun {
2626

2727
project.afterEvaluate {
2828
project.tasks.artifactoryPublish.enabled(false)
29+
project.tasks.publishToOssrh.enabled(false)
2930
}

spring-pulsar-sample-apps/sample-app2/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,5 @@ bootRun {
2626

2727
project.afterEvaluate {
2828
project.tasks.artifactoryPublish.enabled(false)
29+
project.tasks.publishToOssrh.enabled(false)
2930
}

spring-pulsar-sample-apps/sample-reactive/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,5 @@ bootRun {
2020

2121
project.afterEvaluate {
2222
project.tasks.artifactoryPublish.enabled(false)
23+
project.tasks.publishToOssrh.enabled(false)
2324
}

0 commit comments

Comments
 (0)