File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -81,6 +81,7 @@ publishing {
8181// Signing
8282
8383var signingExtension = project. getExtensions(). getByType(SigningExtension ) as SigningExtension
84+ signingExtension. sign publishing. publications. publishedArtifacts
8485
8586def signPublicationsTask = tasks. register(' signPublications' ) {
8687 description " Grouping task which executes all Sign tasks"
@@ -111,7 +112,7 @@ gradle.taskGraph.whenReady { TaskExecutionGraph graph ->
111112 if ( publishUser == null || publishPass == null ) {
112113 throw new RuntimeException ( " Cannot perform publishing to OSSRH without credentials." )
113114 }
114- logger. lifecycle " Publishing groupId: ' " + project. group + " ', version: ' " + project. version + " ' "
115+ logger. lifecycle " Publishing {} : {} : {} " , project. group, project . name, project. version
115116 }
116117
117118 if ( wasSigningRequested || wasPublishingRequested ) {
@@ -122,7 +123,6 @@ gradle.taskGraph.whenReady { TaskExecutionGraph graph ->
122123 var signingKey = resolveSigningKey()
123124 var signingPassword = resolveSigningPassphrase()
124125 signingExtension. useInMemoryPgpKeys( signingKey, signingPassword )
125- signingExtension. sign publishing. publications. publishedArtifacts
126126 }
127127 else {
128128 // signing was not explicitly requested and we are not publishing to OSSRH,
You can’t perform that action at this time.
0 commit comments