Skip to content

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

License

Notifications You must be signed in to change notification settings

jitpack-io/android-jitpack-library-example

 
 

Repository files navigation

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'
}

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%