[Build] Don't publish samples to Sonatype
- increase Sonatype state transition retries
This commit is contained in:
10
build.gradle
10
build.gradle
@@ -45,6 +45,15 @@ check {
|
||||
dependsOn checkstyleNohttp
|
||||
}
|
||||
|
||||
import java.time.Duration
|
||||
|
||||
nexusPublishing {
|
||||
transitionCheckOptions {
|
||||
maxRetries = 120
|
||||
delayBetween = Duration.ofSeconds(10)
|
||||
}
|
||||
}
|
||||
|
||||
subprojects { subproject ->
|
||||
task updateCopyrights {
|
||||
onlyIf { gitPresent && !System.getenv('GITHUB_ACTION') }
|
||||
@@ -76,4 +85,3 @@ subprojects { subproject ->
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -26,4 +26,5 @@ bootRun {
|
||||
|
||||
project.afterEvaluate {
|
||||
project.tasks.artifactoryPublish.enabled(false)
|
||||
project.tasks.publishToOssrh.enabled(false)
|
||||
}
|
||||
|
||||
@@ -26,4 +26,5 @@ bootRun {
|
||||
|
||||
project.afterEvaluate {
|
||||
project.tasks.artifactoryPublish.enabled(false)
|
||||
project.tasks.publishToOssrh.enabled(false)
|
||||
}
|
||||
|
||||
@@ -20,4 +20,5 @@ bootRun {
|
||||
|
||||
project.afterEvaluate {
|
||||
project.tasks.artifactoryPublish.enabled(false)
|
||||
project.tasks.publishToOssrh.enabled(false)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user