diff --git a/build-plugins/build-support/src/main/kotlin/aws/sdk/kotlin/gradle/dsl/Publish.kt b/build-plugins/build-support/src/main/kotlin/aws/sdk/kotlin/gradle/dsl/Publish.kt index 68b489f..a3ec697 100644 --- a/build-plugins/build-support/src/main/kotlin/aws/sdk/kotlin/gradle/dsl/Publish.kt +++ b/build-plugins/build-support/src/main/kotlin/aws/sdk/kotlin/gradle/dsl/Publish.kt @@ -379,6 +379,14 @@ fun Project.configureJReleaser() { } maxRetries = 100 retryDelay = 60 // seconds + snapshotSupported = false // do not allow publication of snapshot artifacts + applyMavenCentralRules = true + // all of the following should be enabled by applyMavenCentralRules but set them explicitly to be sure + sign = true + checksums = true + sourceJar = true + javadocJar = true + verifyPom = true } } }