Skip to content

Commit

Permalink
ci: attempt with publications
Browse files Browse the repository at this point in the history
  • Loading branch information
zaaarf committed Oct 15, 2024
1 parent 9f3177e commit 21b7676
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions dist/java/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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
mavenPublishing {
publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL) //, true) // TODO re-enable autopublish!
Expand Down

0 comments on commit 21b7676

Please sign in to comment.