Created
October 24, 2019 14:19
-
-
Save douglasiacovelli/58431bd54736796c29ebc12fad5ba5bb to your computer and use it in GitHub Desktop.
Airbnb snippet on how to add modules to app according to flavor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
project.flavors.each { flavor, config -> | |
project.dependencies.add("${flavor}Compile", project(config.entryModule)) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment