Skip to content

Commit 4103967

Browse files
authored
chore: increase the timeout for transitioning Nexus repository while publishing (#635)
1 parent 58f30ef commit 4103967

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

build.gradle.kts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
*/
55
import java.util.Properties
66
import java.net.URL
7+
import java.time.Duration
78

89
plugins {
910
kotlin("jvm") version "1.6.21" apply false
@@ -129,6 +130,11 @@ if (
129130
password.set(project.property("sonatypePassword") as String)
130131
}
131132
}
133+
134+
transitionCheckOptions {
135+
maxRetries.set(180)
136+
delayBetween.set(Duration.ofSeconds(10))
137+
}
132138
}
133139
}
134140

0 commit comments

Comments
 (0)