aboutsummaryrefslogtreecommitdiff
path: root/symbol-processing
diff options
context:
space:
mode:
authorJiaxiang Chen <jiaxiang@google.com>2021-08-12 10:49:54 -0700
committerJiaxiang Chen <jiaxiang@google.com>2021-08-12 11:14:47 -0700
commit11a812f7a46a0a550b22fe15658b386986ce77ad (patch)
tree3bc78d2f741ad373f52e2fd6d0b39da4fdb28dda /symbol-processing
parentf8f513f0f9e1a1268675dba58c064868ca18feb2 (diff)
downloadksp-11a812f7a46a0a550b22fe15658b386986ce77ad.tar.gz
sign for all publications instead of get publication by name.
Diffstat (limited to 'symbol-processing')
-rw-r--r--symbol-processing/build.gradle.kts3
1 files changed, 1 insertions, 2 deletions
diff --git a/symbol-processing/build.gradle.kts b/symbol-processing/build.gradle.kts
index 731a10b3..dedaf0ff 100644
--- a/symbol-processing/build.gradle.kts
+++ b/symbol-processing/build.gradle.kts
@@ -84,6 +84,5 @@ publishing {
signing {
isRequired = hasProperty("signingKey") && !gradle.taskGraph.hasTask("publishToMavenLocal")
- sign(publishing.publications.findByName("shadow"))
- sign(publishing.publications.findByName("cmdline"))
+ sign(extensions.getByType<PublishingExtension>().publications)
}