Would it be possible to remove the flavors from the libraries and split 
each flavor into a separate project, and then tie up your dependencies like 
that? A flavor does seem like it's just a way to have separate projects 
without having to make separate directories and build scripts, but it also 
comes with some limitations. I ran into these limitations myself when using 
multiple flavor dimensions, so I kept separate projects for the main 
dimension.

My POV is similar to Kiran's. I actually recently converted all of my 
builds to gradle due to increasing frustration with Eclipse, ADT, and ant. 
The Android tools team is focusing on Android Studio going forward and this 
is where the future lies.

>From the viewpoint of a team, I would recommend keeping the build system as 
modern and as simple as possible, even if at the expense of some short term 
pain, because one day you're going to have new heads looking at that and 
the more complex it is, the more they won't understand it and the more 
afraid they'll be to touch it, let alone bring it over into a new build 
system. I still have some horrible memories of the several thousand-line 
ant build script we used at one of the places I worked at. :P

On Tuesday, February 10, 2015 at 7:42:44 PM UTC-5, Greg Macdonald wrote:
>
> There seem to be an awful lot of issues yet with Android Studio and we are 
> considering switching tools to eclipse/ant until AS/gradle is really really 
> ready for production use. Things like not propagating build variant (flavor 
> and target) to sub-projects is very fundamental and I really didn't want to 
> waste time writing custom groovy code to get around build limitations.
>
> Anybody got any good, factual type input on why a team should or should 
> not make this move?  I know that one day AS will be ready for prime time 
> and we will have to migrate back, but I don't know how long we would have 
> to live with things before we get there, or if ready will happen sort of 
> all at once in a month or there will be a steady stream of improvements 
> that culminate in ready at some time in the future.
>
> 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 adt-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to