We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c9c32d commit 9a6d378Copy full SHA for 9a6d378
gradle/build-plugins/src/main/kotlin/io.codemodder.maven-publish.gradle.kts
@@ -22,11 +22,12 @@ extensions.getByType<nebula.plugin.contacts.ContactsExtension>().run {
22
23
val publicationName = "nebula"
24
signing {
25
- setRequired(false)
26
if (providers.environmentVariable("CI").isPresent) {
27
val signingKey: String? by project
28
val signingPassword: String? by project
29
useInMemoryPgpKeys(signingKey, signingPassword)
+ } else {
30
+ isRequired = false
31
}
32
sign(extensions.getByType<PublishingExtension>().publications.getByName(publicationName))
33
0 commit comments