Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 934 Bytes

README.md

File metadata and controls

30 lines (23 loc) · 934 Bytes

android-jitpack-library-example

A example of a Jitpack integration with a library with multiple product flavours:

  • production (default)
  • sandbox

All variants are built and published with different filenames:

repositories {
 maven { url "https://jitpack.io" }
}

dependencies {
  compile 'com.github.jitpack-io:android-jitpack-library-example:1.5:productionRelease@aar'  
  compile 'com.github.jitpack-io:android-jitpack-library-example:1.5:sandboxRelease@aar'
  compile 'com.github.jitpack-io:android-jitpack-library-example:1.5:sandboxDebug@aar'
  compile 'com.github.jitpack-io:android-jitpack-library-example:1.5:productionDebug@aar'
}

The default variant is 'productionRelease' and is set using the defaultPublishConfig property:

dependencies {
  compile 'com.github.jitpack-io:android-jitpack-library-example:1.5'
}