File tree Expand file tree Collapse file tree 6 files changed +3
-23
lines changed Expand file tree Collapse file tree 6 files changed +3
-23
lines changed Original file line number Diff line number Diff line change 14
14
}
15
15
else
16
16
echo " RELEASE"
17
- ${WORKSPACE_PATH} /gradlew publishToSonatype closeAndReleaseRepository -p ${WORKSPACE_PATH} -Psigning.keyId=" ${SIGNING_KEY_ID} " -Psigning.password=" ${SIGNING_KEY_PASSPHRASE} " -Psigning.secretKeyRingFile=" ${SIGNING_SECRET_KEY_RING_FILE} " -PsonatypeUsername=" ${SONATYPE_USER_NAME} " -PsonatypePassword=" ${SONATYPE_PASSWORD} " || {
17
+ ${WORKSPACE_PATH} /gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository -p ${WORKSPACE_PATH} -Psigning.keyId=" ${SIGNING_KEY_ID} " -Psigning.password=" ${SIGNING_KEY_PASSPHRASE} " -Psigning.secretKeyRingFile=" ${SIGNING_SECRET_KEY_RING_FILE} " -PsonatypeUsername=" ${SONATYPE_USER_NAME} " -PsonatypePassword=" ${SONATYPE_PASSWORD} " || {
18
18
echo " Gradle publish/release failed" >&2
19
19
exit 1
20
20
}
Original file line number Diff line number Diff line change @@ -22,7 +22,6 @@ plugins {
22
22
id " com.github.johnrengelman.shadow" version " 7.1.2"
23
23
id " maven-publish"
24
24
id " io.github.gradle-nexus.publish-plugin" version " 1.3.0" apply false
25
- id " io.codearte.nexus-staging" version " 0.21.2"
26
25
id " org.ajoberstar.git-publish" version " 2.1.3"
27
26
id " idea"
28
27
}
@@ -546,11 +545,6 @@ idea {
546
545
}
547
546
}
548
547
549
- nexusStaging {
550
- packageGroup = " com.launchdarkly"
551
- numberOfRetries = 40 // we've seen extremely long delays in closing repositories
552
- }
553
-
554
548
def pomConfig = {
555
549
name ' LaunchDarkly SDK for Java'
556
550
packaging ' jar'
Original file line number Diff line number Diff line change @@ -80,11 +80,6 @@ publishing {
80
80
}
81
81
}
82
82
83
- nexusStaging {
84
- packageGroup = ProjectValues .groupId
85
- numberOfRetries = 40 // we've seen extremely long delays in closing repositories
86
- }
87
-
88
83
nexusPublishing {
89
84
clientTimeout.set(Duration .ofMinutes(2 )) // we've seen extremely long delays in creating repositories
90
85
repositories {
Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ object Versions {
10
10
11
11
object PluginVersions {
12
12
const val nexusPublish = " 1.3.0"
13
- const val nexusStaging = " 0.30.0"
14
13
}
15
14
16
15
object Libs {
@@ -61,7 +60,6 @@ object Libs {
61
60
)
62
61
63
62
val javaExtGradlePlugins = mapOf (
64
- " io.github.gradle-nexus.publish-plugin" to PluginVersions .nexusPublish,
65
- " io.codearte.nexus-staging" to PluginVersions .nexusStaging
63
+ " io.github.gradle-nexus.publish-plugin" to PluginVersions .nexusPublish
66
64
)
67
65
}
Original file line number Diff line number Diff line change @@ -74,11 +74,6 @@ publishing {
74
74
}
75
75
}
76
76
77
- nexusStaging {
78
- packageGroup = ProjectValues .groupId
79
- numberOfRetries = 40 // we've seen extremely long delays in closing repositories
80
- }
81
-
82
77
nexusPublishing {
83
78
clientTimeout.set(Duration .ofMinutes(2 )) // we've seen extremely long delays in creating repositories
84
79
repositories {
Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ object Versions {
12
12
13
13
object PluginVersions {
14
14
const val nexusPublish = " 1.3.0"
15
- const val nexusStaging = " 0.30.0"
16
15
}
17
16
18
17
object Libs {
@@ -52,7 +51,6 @@ object Libs {
52
51
)
53
52
54
53
val javaExtGradlePlugins = mapOf (
55
- " io.github.gradle-nexus.publish-plugin" to PluginVersions .nexusPublish,
56
- " io.codearte.nexus-staging" to PluginVersions .nexusStaging
54
+ " io.github.gradle-nexus.publish-plugin" to PluginVersions .nexusPublish
57
55
)
58
56
}
You can’t perform that action at this time.
0 commit comments