In this article, I will present a totally new feature introduced by Gradle (in comparison with Ant) : the ability to build an app against different environments. I mean to be able to have (almost) the same flexibility as C preprocessor directives, giving us the ability to provide specific resources, or even classes, for a specific environment.

Continue reading