Sample project to use BitBucket as a private Maven repository.
In order to test out this project, first ensure that you have a
maven_repository configured in your BitBucket account, which uses
releases as its default branch. Next configure the project:
Checkout the example source
git clone email@example.com:JeroenMols/WagonGitExample.git
Fill in your BitBucket username and password in the root level gradle.properties file
- Optionally configure the other parameters in the gradle.properties file within the library project.
ARTIFACT_VERSION=1.0.0 ARTIFACT_NAME=awesomelibrary ARTIFACT_PACKAGE=com.jeroenmols.awesomelibrary ARTIFACT_PACKAGING=aar COMPANY=jeroenmols // the name of your team/company in BitBucket REPOSITORY_NAME=maven_repository
- Run the following command to upload a version to your Maven repository.