android.applicationVariants.all { variant ->
variant.outputs.each { output ->
}
}
is not specific to what task(s) you are about to run. This about project
configuration and this includes all configurations whether they will be
built or not.
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.
>
--
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com
Please do not send me questions directly. Thanks!
--
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.