Skip to content

Commit d9bed53

Browse files
committed
changes after testing
1 parent 06da56a commit d9bed53

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
@@ -313,9 +313,6 @@ fun Project.configureJReleaser() {
313313
val requiredVariables = listOf(
314314
EnvironmentVariables.MAVEN_CENTRAL_USERNAME,
315315
EnvironmentVariables.MAVEN_CENTRAL_TOKEN,
316-
EnvironmentVariables.GPG_PASSPHRASE,
317-
EnvironmentVariables.GPG_PUBLIC_KEY,
318-
EnvironmentVariables.GPG_SECRET_KEY,
319316
EnvironmentVariables.GENERIC_TOKEN,
320317
)
321318

@@ -361,6 +358,7 @@ fun Project.configureJReleaser() {
361358
mavenCentral {
362359
create("maven-central") {
363360
active = Active.ALWAYS // the Maven deployer default is ALWAYS, but MavenCentral is NEVER
361+
sign = false // Signing is done when publishing, see the 'configurePublishing' function
364362
url = "https://central.sonatype.com/api/v1/publisher"
365363
stagingRepository(rootProject.layout.buildDirectory.dir("m2").get().toString())
366364
artifacts {

0 commit comments

Comments
 (0)