Skip to content

bable5/maven-android-flavors

Repository files navigation

Maven Android Build Flavors

This project is a working implementation of the discussion in the Branded Android Builds using Maven blog post.

The project demonstrates how to create builds for two different types of builds, dev and release. The different build environments provide unique values for the resource 'search'.

Building and Deploying to a Connected Device

The environment property controlls which files are used for the build. Valid values are dev and release.

  • Dev build/install
$> mvn -Denvironment=dev package android:deploy
  • Release build/install
$> mvn -Denvironment=release package android:deploy

About

A basic example of android build flavors using maven

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages