ci: attempt with publications

This commit is contained in:
zaaarf 2024-10-15 16:30:33 +02:00
parent 9f3177e22e
commit 21b76767bd
No known key found for this signature in database
GPG key ID: 102E445F4C3F829B

View file

@ -117,6 +117,19 @@ tasks.register('nativeBuild', Jar) {
} }
} }
publishing {
publications {
mavenJava(MavenPublication) {
artifact jar
//artifact sourcesJar
//artifact javadocJar
artifact windowsJar
artifact linuxJar
artifact macosJar
}
}
}
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!