Skip to content

Instantly share code, notes, and snippets.

@tbruyelle
Last active August 29, 2015 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tbruyelle/9322535 to your computer and use it in GitHub Desktop.
Save tbruyelle/9322535 to your computer and use it in GitHub Desktop.
AAR in the local repository
apply plugin: 'maven'
uploadArchives {
  repositories {
    mavenDeployer {
      repository url: 'file://' + new File(System.getProperty('user.home'), '.m2/repository').absolutePath
    }
  }
}
task install(dependsOn: uploadArchives)

then

./gradlew install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment