File tree 1 file changed +11
-14
lines changed
1 file changed +11
-14
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ import java.time.Duration
3
3
plugins {
4
4
id ' java'
5
5
id ' signing'
6
- id ' io.codearte.nexus-staging ' version ' 0.21.1 '
7
- id ' de.marcphilipp.nexus- publish' version ' 0.4 .0'
6
+ id ' maven-publish '
7
+ id ' io.github.gradle-nexus. publish-plugin ' version ' 2.0 .0'
8
8
}
9
9
10
10
group = " com.gluonhq"
@@ -105,16 +105,13 @@ signing {
105
105
106
106
nexusPublishing {
107
107
repositories {
108
- sonatype()
108
+ sonatype {
109
+ username = project. hasProperty(' sonatypeUsername' ) ? project. property(' sonatypeUsername' ) : ' '
110
+ password = project. hasProperty(' sonatypePassword' ) ? project. property(' sonatypePassword' ) : ' '
111
+ }
109
112
}
110
- // credentials are shared from staging plugin
111
- clientTimeout = Duration . ofMinutes(5 )
112
- connectTimeout = Duration . ofMinutes(5 )
113
- }
114
-
115
- nexusStaging {
116
- username = project. hasProperty(' sonatypeUsername' ) ? project. property(' sonatypeUsername' ) : ' '
117
- password = project. hasProperty(' sonatypePassword' ) ? project. property(' sonatypePassword' ) : ' '
118
- numberOfRetries = 30
119
- delayBetweenRetriesInMillis = 10000
120
- }
113
+ transitionCheckOptions {
114
+ maxRetries = 100
115
+ delayBetween = Duration . ofSeconds(10 )
116
+ }
117
+ }
You can’t perform that action at this time.
0 commit comments