File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -81,6 +81,7 @@ publishing {
81
81
// Signing
82
82
83
83
var signingExtension = project. getExtensions(). getByType(SigningExtension ) as SigningExtension
84
+ signingExtension. sign publishing. publications. publishedArtifacts
84
85
85
86
def signPublicationsTask = tasks. register(' signPublications' ) {
86
87
description " Grouping task which executes all Sign tasks"
@@ -122,7 +123,6 @@ gradle.taskGraph.whenReady { TaskExecutionGraph graph ->
122
123
var signingKey = resolveSigningKey()
123
124
var signingPassword = resolveSigningPassphrase()
124
125
signingExtension. useInMemoryPgpKeys( signingKey, signingPassword )
125
- signingExtension. sign publishing. publications. publishedArtifacts
126
126
}
127
127
else {
128
128
// signing was not explicitly requested and we are not publishing to OSSRH,
You can’t perform that action at this time.
0 commit comments