[Build] Don't publish samples to Sonatype

- increase Sonatype state transition retries
This commit is contained in:
Chris Bono
2022-12-14 14:07:11 -06:00
parent e416777b8e
commit e36f98d1aa
4 changed files with 12 additions and 1 deletions

View File

@@ -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 ->
}
}
}

View File

@@ -26,4 +26,5 @@ bootRun {
project.afterEvaluate {
project.tasks.artifactoryPublish.enabled(false)
project.tasks.publishToOssrh.enabled(false)
}

View File

@@ -26,4 +26,5 @@ bootRun {
project.afterEvaluate {
project.tasks.artifactoryPublish.enabled(false)
project.tasks.publishToOssrh.enabled(false)
}

View File

@@ -20,4 +20,5 @@ bootRun {
project.afterEvaluate {
project.tasks.artifactoryPublish.enabled(false)
project.tasks.publishToOssrh.enabled(false)
}