Which one is your flavor and which one is your build type?

It should be flavorBuildtype. Camelcase with first letter lower case.


On Fri, Dec 20, 2013 at 1:44 AM, Marek Kubiczek <[email protected]> wrote:

> Hi, in my app I'm using flavors. As changelog for gradle plugin 0.7 says
> there is now possibility to make variant specific resources but there is no
> mention about how to provide specific directory. Is it possible? Now I'm
> using sth like this
>
> android.sourceSets.amazon {
>     res {
>     srcDir "amazon/res"
>     }
>         java {
>             srcDir "amazon/src"
>         }
>     manifest {
>     srcFile "amazon/AndroidManifest.xml"
>     }
> }
>
> android.sourceSets.full {
>         res {
>             srcDir "full/res"
>         }
>     java {
>     srcDir "full/src"
>     }
> }
>
>
> I tried to use
>
> android.sourceSets.fullAmazon {
>         res {
>             srcDir "fullAmazon/res"
>         }
> }
>
> but without a luck.
>
> --
> 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/groups/opt_out.
>



-- 
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/groups/opt_out.

Reply via email to