Can I build all my gradle build flavors at once?

Tyler Pfaff

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?

Sandro Machado

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

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

Can I call the Gradle properties task on all projects at once in a multi-project build?

Gradle: How do I define build type for specific flavors only?

How can I share build code script for all my gradle projects (not just subprojects)

How can I package different *.so files for different Build flavors?

Which takes precedence, Gradle build types or flavors?

Using alternate resources with Build Flavors in Gradle

All product flavors are concatenating to one build variant

Using Build Flavors - Structuring source folders and build.gradle correctly

How can I build a Gradle plugin with Maven

Can I remove the 'jar' task in gradle build?

Android build.gradle importing flavors from another file

Android using Gradle Build flavors in the code like an if case

In iOS do we have something like Gradle Build Flavors on Android

Buck - building android app with multiple Gradle flavors/build types and manifests

Declare variable into build.gradle that match the applicationId with flavors suffix

How can I determine what dependencies I need in the gradle build file for my Android project

Why can't I use gradle task connectedDebugAndroidTest in my build script?

How can I build my Gradle project using a Windows JDK from Ubuntu on Windows?

"aapt" IOException error=2, No such file or directory" why can't I build my gradle on jenkins?

How can I reference a Travis secure variable in my build.gradle?

How to build all product flavors from Android Studio?

I can build locally but my heroku build is failing

How can I resolve my build error?

Can't build release apk with multi flavors in Flutter?

My gradle can't build any new project

With Maven, how can I build a distributable that has my project's jar and all of the dependent jars?

I cannot solve my build gradle file error

Why shouldn't I have circular dependencies in my gradle build?

Gradle NOT finding my subdirectory to build