Search code examples
androidgradleandroid-productflavors

Can I build all my gradle build flavors at once?


I have several build flavors for an application. I want to build all differently flavored apks at once and find them in my /output folder. I don't want to select each flavor and build it individually. How can I do this?


Solution

  • You should run ./gradlew build at the root of your project.