Skip to content

Commit 1600747

Browse files
committed
misc: self review
1 parent 0a15435 commit 1600747

File tree

1 file changed

+1
-3
lines changed
  • build-plugins/build-support/src/main/kotlin/aws/sdk/kotlin/gradle/dsl

1 file changed

+1
-3
lines changed

build-plugins/build-support/src/main/kotlin/aws/sdk/kotlin/gradle/dsl/Publish.kt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ private object SystemProperties {
2020
const val SKIP_PUBLISHING = "skipPublish"
2121

2222
object JReleaser {
23-
const val STAGE = "jreleaser.mavencentral.stage"
2423
const val GROUP_ID = "jreleaser.project.java.group.id"
2524
const val MAVEN_CENTRAL_USERNAME = "jreleaser.mavencentral.username"
2625
const val MAVEN_CENTRAL_TOKEN = "jreleaser.mavencentral.token"
@@ -162,7 +161,6 @@ fun Project.configureJReleaser() {
162161

163162
var missingSystemProperties = false
164163
listOf(
165-
SystemProperties.JReleaser.STAGE,
166164
SystemProperties.JReleaser.GROUP_ID,
167165
SystemProperties.JReleaser.MAVEN_CENTRAL_USERNAME,
168166
SystemProperties.JReleaser.MAVEN_CENTRAL_TOKEN,
@@ -172,7 +170,7 @@ fun Project.configureJReleaser() {
172170
).forEach {
173171
if (!project.hasProperty(it)) {
174172
missingSystemProperties = true
175-
logger.warn("Skipping JReleaser configuration, missing or blank required env var: $it")
173+
logger.warn("Skipping JReleaser configuration, missing required system property: $it")
176174
}
177175
}
178176
if (missingSystemProperties) return

0 commit comments

Comments
 (0)