blob: 621ed43e308fa5ef1c9073bf2f779163520c89eb [file] [log] [blame]
Cedric Beust241b7592015-07-11 16:30:40 -07001To publish:
2
3- ./gradlew bintrayUpload will upload the release to JCenter. It will fail if the version is a SNAPSHOT
Cedric Beust34526612015-10-27 00:13:33 -07004- ./gradlew uploadArchives will upload
5 - the snapshot to https://oss.sonatype.org/content/repositories/snapshots
6 - the release to https://oss.sonatype.org/service/local/staging/deploy/maven2
7For a release, you then need to go to https://oss.sonatype.org/index.html#stagingRepositories to manually close and release the distribution.
Cedric Beust241b7592015-07-11 16:30:40 -07008
Cedric Beust34526612015-10-27 00:13:33 -07009Note that `./gradlew uploadArchives` is run by Travis after each new push to deploy the latest HEAD to the snapshot directory. As such, the version number of `build.gradle` in the git repo should always be -SNAPSHOT.