Gradle to collect a specific taste and build

The launch ./gradlew tasksshows options for assembling all assemblies for a particular taste or all tastes for a particular assembly. Is it possible to assemble for a specific combination of taste and assembly?

+4
source share
1 answer

Yes - you mean a specific build option

./gradlew assembleFlavoraBuildb

If your fragrance is called flavora, and your assemblybuildb

More details here: http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Building-and-Tasks

+14
source

Source: https://habr.com/ru/post/1610510/