File tree Expand file tree Collapse file tree 1 file changed +13
-12
lines changed
build-plugins/build-support/src/main/kotlin/aws/sdk/kotlin/gradle/dsl Expand file tree Collapse file tree 1 file changed +13
-12
lines changed Original file line number Diff line number Diff line change @@ -365,10 +365,21 @@ fun Project.configureJReleaser() {
365365 maven {
366366 mavenCentral {
367367 create(" maven-central" ) {
368- active = Active .ALWAYS // the Maven deployer default is ALWAYS, but MavenCentral is NEVER
369- sign = false // Signing is done when publishing, see the 'configurePublishing' function
368+ active = Active .ALWAYS // the MavenDeployer default is ALWAYS, but MavenCentralDeployer is NEVER
370369 url = " https://central.sonatype.com/api/v1/publisher"
371370 stagingRepository(rootProject.layout.buildDirectory.dir(" m2" ).get().toString())
371+
372+ maxRetries = 100
373+ retryDelay = 60 // seconds
374+ snapshotSupported = false // do not allow publication of snapshot artifacts
375+ applyMavenCentralRules = true
376+ sign = false // Signing is done when publishing, see the 'configurePublishing' function
377+ // all of the following should be enabled by applyMavenCentralRules but set them explicitly to be sure
378+ checksums = true
379+ sourceJar = true
380+ javadocJar = true
381+ verifyPom = true
382+
372383 artifacts {
373384 artifactOverride {
374385 artifactId = " version-catalog"
@@ -395,16 +406,6 @@ fun Project.configureJReleaser() {
395406 }
396407 }
397408 }
398- maxRetries = 100
399- retryDelay = 60 // seconds
400- snapshotSupported = false // do not allow publication of snapshot artifacts
401- applyMavenCentralRules = true
402- // all of the following should be enabled by applyMavenCentralRules but set them explicitly to be sure
403- sign = true
404- checksums = true
405- sourceJar = true
406- javadocJar = true
407- verifyPom = true
408409 }
409410 }
410411 }
You can’t perform that action at this time.
0 commit comments