Skip to content

Latest commit

 

History

History
64 lines (46 loc) · 1 KB

SCELETON.md

File metadata and controls

64 lines (46 loc) · 1 KB

{LIBRARY_NAME} Android ARchive

{LIBRARY_NAME} library built with gradle in aar format for usage with android gradle build system.

How to use

Remote repository

Maven repository on GitHub Pages

...

repositories {
    maven { url "{GITHUB_URL}" }
    ...
}

dependencies {
    compile '{ARTIFACT_ID}'
    ...
}

In your build.gradle include maven{ url "{GITHUB_URL}" } as repository priorior to mavenCentral()

Local repository

Before you can get aar you should checkout submodule. Overall build process including build is straightforward:

  $ git submodule update --init
  ...
  $ ./gradlew build
  ...

When build is finished aar file will be located in build/libs.

Maven artifact

  $ ./gradlew -Dorg.gradle.project.repoDir="${HOME}/.m2/repository" uploadArchives

build.gradle example

...

repositories {
    mavenLocal()
    ...
}

dependencies {
    compile '{ARTIFACT_ID}'
    ...
}