ci(java): try using the base plugin

This commit is contained in:
zaaarf 2024-10-16 15:21:20 +02:00
parent d10b34eaf9
commit 3b653e8205
No known key found for this signature in database
GPG key ID: 102E445F4C3F829B

View file

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