seems like an oversight, filed a bug at
https://code.google.com/p/android/issues/detail?id=186770

On Thu, Sep 17, 2015 at 4:14 AM Tomáš Procházka <tomas.procha...@gmail.com>
wrote:

> I'm little bit confused with android gradle plugin task dependency.
>
> I have project with one app apk module and several library modules
> app module has several flavors
>
> When I call *gradlew assemble check* it works correctly it build debug
> and release build of all flavors and run lint and tests on all modules.
> But if I want to run only release build and only specified flavor it is
> huge problem.
>
> I must use assembleDefaultRelease (where Default is my flavor name).
> But If I use checkDefaultRelease it completely skip the lint run and
> tests. Why? It looks that only check has dependency on lint and test.
> I think that checkDefaultRelease  should have dependency on
> lintDefaultRelease and testDefaultRelease or not?
>
> Also I'm not able to use assembleRelease if I want to build release
> versions of all flavors.
>
> --
> 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+unsubscr...@googlegroups.com.
> 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 adt-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to