add singAll task for cases when publishing script is generating with signing

This commit is contained in:
InsanusMokrassar 2022-01-04 23:11:59 +06:00
parent ca1a91e0f0
commit 26a5d20e26
1 changed files with 16 additions and 2 deletions

View File

@ -14,7 +14,14 @@ if (project.hasProperty("signing.gnupg.keyName")) {
sign publishing.publications
}
}"""
task signAll {
tasks.withType(Sign).forEach {
dependsOn(it)
}
}
}
"""
GpgSigning.Enabled ->
"""
apply plugin: 'signing'
@ -23,5 +30,12 @@ signing {
useGpgCmd()
sign publishing.publications
}"""
}
task signAll {
tasks.withType(Sign).forEach {
dependsOn(it)
}
}
"""
}