Building Scalable White-Label Android Apps with Gradle Flavors and Azure Pipelines | WillowTree

General News

Summary

A solution may seem manageable with one or two different variants but could easily turn into an unmaintainable and expensive mess when we start adding more. Gradle provides us with a feature called flavors to save us from a tangled web of branching logic in our codebase. In addition to these Gradle properties we can override any part of our main source set by creating a parallel folder for that flavor. This makes adding new stations to our app trivial and less risky since we do not need to modify our common source code. Creating a new variant would just involve a few lines in our Azure Pipelines YAML file and defining a new variable group.

Classifications

industries
Retail
applications
EduTech - learning

AskAI Classifications

Labels
AI Software Development Digital Product Development SaaS Platforms

Linked Companies

WillowTree
$100M to $250M
GitHub, Inc.
$1M to $5M