Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 1.04 KB

File metadata and controls

30 lines (21 loc) · 1.04 KB

Publishing Elixsr Library for Android

based on https://raw.githubusercontent.com/firebase/FirebaseUI-Android/master/library/PUBLISHING.md

utilised https://inthecheesefactory.com/blog/how-to-upload-library-to-jcenter-maven-central-as-dependency/en

Publishing to Maven Local

In order to publish to your local maven repository, run the following command:

./gradlew library:prepareArtifacts :library:publishAllToMavenLocal

If you would like to specify a custom local maven repo location, run the following command, changing the value of the custom_local property to your desired location. The default value for custom_local is /tmp/.

./gradlew -Pcustom_local=<YOUR_MAVEN_REPO> :library:prepareArtifacts :library:publishAllToCustomLocal

Publishing to jCenter

This will publish all of the artfiacts (as drafts) to Bintray. You will need the environment variables BINTRAY_USER and BINTRAY_KEY defined appropriately. Increment the constants.gradle version.

./gradlew clean library:prepareArtifacts :library:bintrayUploadAll