You can set resConfig on your flavor to restrict the language.
for isntance
android {
productFlavors {
fr {
resConfig "fr"
}
}
On Wed, Feb 26, 2014 at 10:24 PM, Che Zhong <[email protected]> wrote:
> I want to have 3 product flavors, and one of them will have less language
> support than Main. For example, only support /values-fr. Is there a filter
> function in Gradle? 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.
>
--
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.