ci: try to sign manually

This commit is contained in:
zaaarf 2024-10-16 01:44:44 +02:00
parent 5dcfd341d3
commit d10b34eaf9
No known key found for this signature in database
GPG key ID: 102E445F4C3F829B

View file

@ -1,5 +1,6 @@
plugins { plugins {
id 'java-library' id 'java-library'
id 'signing'
id "com.vanniktech.maven.publish" version "0.29.0" id "com.vanniktech.maven.publish" version "0.29.0"
id 'com.google.osdetector' version '1.7.3' id 'com.google.osdetector' version '1.7.3'
} }
@ -152,10 +153,14 @@ publishing {
} }
} }
signing {
sign publishing.publications.mavenJava
}
import com.vanniktech.maven.publish.SonatypeHost import com.vanniktech.maven.publish.SonatypeHost
mavenPublishing { mavenPublishing {
publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL) //, true) // TODO re-enable autopublish! publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL) //, true) // TODO re-enable autopublish!
signAllPublications() //signAllPublications()
coordinates(project.group, rootProject.name, project.version) coordinates(project.group, rootProject.name, project.version)
pom { pom {