Quantcast
Channel: Gradle Forums - Latest posts
Viewing all articles
Browse latest Browse all 19859

How to publish artifacts signatures (.asc files) using maven-publish plugin?

$
0
0

Hi! I read your posts from Mat 2018 as saying that I need to use both posts, i.e. the 2nd signing option from the 2nd post, and the stuff referencing signArchives from the first post. When I do this, I get the message:
Could not get unknown property 'signArchives' for object of type org.gradle.api.publish.maven.internal.publication.DefaultMavenPublication.

Apparently it is not creating an “archives” configuration - where should I look? Also in https://docs.gradle.org/current/dsl/org.gradle.plugins.signing.SigningExtension.html , it says to use signPom, but also says that uploadArchives has been deprecated!

Help would be appreciated!


Viewing all articles
Browse latest Browse all 19859

Trending Articles