I have a bunch of products specific to my build. However, in some scenarios I want to build without taste.
However, when I try to create an odorless release, i.e.
gradlew assembleRelease
He goes through and builds all the options that take a lot of time. I would like to start building releases and ignore all tastes. Is it possible?
I'm sure I can add an empty fragrance called "default" and create it. It seems like I should not do this.
EDIT:
defaultConfig { resValue "string", "hello", "Hello default" } productFlavors { foo { resValue "string", "hello", "Hello Foo" } bar { resValue "string", "hello", "Hello Bar" } }
It seems the answer at the moment is to provide your own "default" taste
productFlavors { defaults { // yup its empty cause I just want to build with the defaults // that are already defined. } foo { resValue "string", "hello", "Hello Foo" } bar { resValue "string", "hello", "Hello Bar" } }
source share