mirror of
https://github.com/InsanusMokrassar/KotlinPublicationScriptsBuilder.git
synced 2024-11-22 00:03:57 +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
|
sign publishing.publications
|
||||||
}
|
}
|
||||||
}"""
|
|
||||||
|
task signAll {
|
||||||
|
tasks.withType(Sign).forEach {
|
||||||
|
dependsOn(it)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
"""
|
||||||
GpgSigning.Enabled ->
|
GpgSigning.Enabled ->
|
||||||
"""
|
"""
|
||||||
apply plugin: 'signing'
|
apply plugin: 'signing'
|
||||||
@ -23,5 +30,12 @@ signing {
|
|||||||
useGpgCmd()
|
useGpgCmd()
|
||||||
|
|
||||||
sign publishing.publications
|
sign publishing.publications
|
||||||
}"""
|
}
|
||||||
|
|
||||||
|
task signAll {
|
||||||
|
tasks.withType(Sign).forEach {
|
||||||
|
dependsOn(it)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
"""
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user