Skip to content

Commit 8697cf8

Browse files
committed
Configure applyMavenCentralRules
1 parent e66558e commit 8697cf8

File tree

1 file changed

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

1 file changed

+8
-0
lines changed

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,14 @@ fun Project.configureJReleaser() {
379379
}
380380
maxRetries = 100
381381
retryDelay = 60 // seconds
382+
snapshotSupported = false // do not allow publication of snapshot artifacts
383+
applyMavenCentralRules = true
384+
// all of the following should be enabled by applyMavenCentralRules but set them explicitly to be sure
385+
sign = true
386+
checksums = true
387+
sourceJar = true
388+
javadocJar = true
389+
verifyPom = true
382390
}
383391
}
384392
}

0 commit comments

Comments
 (0)