Signing mit new maven-publish

(Danny Preussler) #1

Hi, I could not figure out how to sign the POM as needed to upload to sonatype
when using the new maven-publish

as the signing plugin is mentioning the old upload task:

uploadArchives {
repositories {
mavenDeployer {
beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) }

can you point me to right direction how to hook into upload to sign the pom?
Here the build.gradle: