plugins {
    id 'signing'
}

task stuffZip(type: Zip) {
    archiveBaseName = 'stuff'
    from 'src/stuff'
}

// tag::signing[]
signing {
    def signingKey = findProperty("signingKey")
    def signingPassword = findProperty("signingPassword")
    useInMemoryPgpKeys(signingKey, signingPassword)
    sign stuffZip
}
// end::signing[]
