anyone got a small scale project featuring maven-p...
# gradle
l
anyone got a small scale project featuring maven-publish that i can look at as an example on how to publish to MavenCentral ? the documentation is overwhelming me
g
Publishing itself is very simple with new maven-publish, just specify repository and create MavenPublish component: https://docs.gradle.org/current/userguide/publishing_setup.html#sec:basic_publishing
For maven central you should also specify username and password for repository
Also for maven central you should publish javadoc, you can enable it with new gradle API for that: java { withJavadocJar() withSourcesJar() }