Skip to content

JeroenMols/ArtifactoryExample

Repository files navigation

ArtifactoryExample

This repository demonstrates how you easily generate Maven artifacts from an Android library and upload them to your own private repository (based on Artifactory). The precise details of how everything works can be found:

  • For AwesomeLibrary and AwesomeApplication: this blogpost.
  • For AwesomeAdvancedLibrary and AwesomeAdvancedApplication: this blogpost.

Usage

Make sure you have your own private Artifactory repository running on your local machine. You can set up one by following the instructions in this blogpost.

Clone the entire repository to your local machine:

git clone git@github.com:JeroenMols/ArtifactoryExample.git

Open the AwesomeLibrary or AwesomeAdvancedLibrary project, compile a release version and upload the artifacts to your Artifactory repository:

gradle assembleRelease artifactoryPublish

Open the AwesomeApplication or AwesomeAdvancedApplication project in Android Studio and run it on a connected device. Gradle will now download the dependency you just created from the Artifactory repository and build your project.

That's it, your done!

Questions

@molsjeroen

About

Example code to upload and use artefacts from Artifactory

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages