rsystems.gradle.plugins.lis-gradle-common-plugins.0.1.2.source-code.com.link-intersystems.gradle.published-artifact.gradle.kts Maven / Gradle / Ivy
import org.gradle.api.DefaultTask
plugins {
`maven-publish`
signing
}
signing {
val signingKey: String? by project
val signingKeyExists = signingKey != null
val signingPassword: String? by project
val signingPasswordExists = signingPassword != null
logger.debug("signingKey exists = {}, signingPassword {}", signingKeyExists, signingPasswordExists)
val signingEnabled = signingKey != null && signingPassword != null
logger.debug("signingEnabled = {}", signingEnabled)
isRequired = signingEnabled
sign(publishing.publications)
if (signingEnabled) {
useInMemoryPgpKeys(signingKey, signingPassword)
}
}
tasks.create("afterPublish") {
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy