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