-
Notifications
You must be signed in to change notification settings - Fork 26
Publishing Artifacts to Maven Central Repository
Lossy edited this page Sep 2, 2025
·
2 revisions
- Checkout master branch
- Add
-SNAPSHOT
to the version number - Run
./gradlew clean build
- Then run
./gradlew publishToSonatype
Snapshots should be listed here
-
Checkout master branch
-
Make sure to remove
-SNAPSHOT
from the version number -
Run
./gradlew clean build
-
Then run
./gradlew publishToSonatype closeSonatypeStagingRepository
-
Go to https://central.sonatype.com/ and log in.
-
Then select
Publish
or to to https://central.sonatype.com/publishing -
Validate the staging is correct.
-
Select
Publish