--
You received this message because you are subscribed to the Google Groups "adt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adt-dev+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
As result, we have build matrix:
1) testFlavor-DEBUG.apk
2) testFlavor-RELEASE.apk
3) prodFlavor-DEBUG.apk
4) prodFlavor-RELEASE.apk
In IDE (Android Studio) you can select product flavor and build type
It is possible to detect in the gradde script if build was started from the IDE or from the commandline?
I agree with Mark, this is what build types are for. You can have different BuildConfig constants depending on the build type you are building.