mirror of
https://github.com/InsanusMokrassar/KotlinPublicationScriptsBuilder.git
synced 2024-11-21 15:53:56 +00:00
add singAll task for cases when publishing script is generating with signing
This commit is contained in:
parent
ca1a91e0f0
commit
26a5d20e26
@ -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)
|
||||
}
|
||||
}
|
||||
"""
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user