It looks like with Gradle Plugin 0.12 there's support for android-library modules but Android Studio 0.8.1 complains about different flavors and dependencies. Gradle itself actually builds the different flavors but with the wrong modules, so it's still useless in the current state. :(
Valerio Il giorno giovedì 3 luglio 2014 12:26:55 UTC+2, David Fortunato ha scritto: > > Any news about productFlavors/buildTypes on android-library? I really need > this to generate some variants like this: > > - Flavor1 -> URLdev1 > - Flavor1 -> URLrelease1 > - Flavor2 -> URLdev2 > - Flavor2 -> URLrelease2 > > > > > On Wednesday, August 14, 2013 4:10:29 PM UTC+1, Mateusz Grzechociński > wrote: >> >> Hey, >> >> I'm building a library using Gradle. Short question: does NBS support >> flavors/build types for library projects which have 'apply plugin >> 'android-library'? >> I know how to use flavors in standard app project with 'apply plugin >> 'android', but with library project I get: >> >> > Could not find method productFlavors() for arguments >> [build_3joit8nsg3q2ffgi781l8dsj2o$_run_closure4_closure13@6d34f3c8] on root >> project XYZ >> >> Thanks in advance, >> Mateusz >> > -- 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.
