Gabriel Peal
1 min readAug 4, 2018

--

This snippet adds the entry module as a dependency of the root app module:

project.flavors.each { flavor, config ->
project.dependencies.add("${flavor}Compile", project(config.entryModule))
}

--

--

Gabriel Peal

Open source maintainer of Lottie and Mavericks. Full stack at Watershed. Formerly Android at Tonal, Airbnb, and Android Auto at Google.