Add a task which depends on each assembleXxx task. If it's invoked, the build type was built.
On Mon, Oct 6, 2014 at 8:41 AM, Tomáš Procházka <[email protected]> wrote: > Hi. > > Is possible to check which buildType is actually builded? > > When I check > > android.applicationVariants.all { variant -> > variant.outputs.each { output -> > > > it will always contain all output files, independently on the current > buildType. > I mean that it contain debug and release also when I run *gradlew > assembleDebug* or also when I run only *gradlew tasks*. > > > > -- > 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 [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
