Skip to content

Commit

Permalink
Merge pull request #277 from kennethshackleton/nexus-transitions-retries
Browse files Browse the repository at this point in the history
Increase Nexus publishing transition check retries to 180 (from default of 60), make default delay of 10 second between explicit.
  • Loading branch information
kennethshackleton authored Jan 4, 2022
2 parents 2da36da + 1727b21 commit 95bbc3a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

import io.gitlab.arturbosch.detekt.Detekt
import java.net.URL
import java.time.Duration
import java.util.Locale
import org.jetbrains.dokka.gradle.DokkaTask
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
Expand Down Expand Up @@ -53,6 +54,10 @@ nexusPublishing {
repositories {
sonatype()
}
transitionCheckOptions {
maxRetries.set(180)
delayBetween.set(Duration.ofSeconds(10L))
}
}

jacoco {
Expand Down

0 comments on commit 95bbc3a

Please sign in to comment.