File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ import aws.sdk.kotlin.gradle.publishing.SonatypeCentralPortalPublishTask
88import aws.sdk.kotlin.gradle.publishing.SonatypeCentralPortalWaitForPublicationTask
99import aws.sdk.kotlin.gradle.util.typedProp
1010import aws.sdk.kotlin.gradle.kmp.configureIosSimulatorTasks
11+ import kotlin.time.Duration.Companion.minutes
12+ import kotlin.time.Duration.Companion.seconds
1113
1214buildscript {
1315 // NOTE: buildscript classpath for the root project is the parent classloader for the subprojects, we
@@ -108,5 +110,8 @@ val lintPaths = listOf(
108110configureLinting(lintPaths)
109111configureMinorVersionStrategyRules(lintPaths)
110112
111- tasks.register<SonatypeCentralPortalPublishTask >(" publishToCentralPortal" ) { }
113+ tasks.register<SonatypeCentralPortalPublishTask >(" publishToCentralPortal" ) {
114+ timeoutDuration.set(90 .minutes)
115+ pollInterval.set(20 .seconds)
116+ }
112117tasks.register<SonatypeCentralPortalWaitForPublicationTask >(" waitForCentralPortalPublication" ) { }
You can’t perform that action at this time.
0 commit comments