Does this work with the gradle-experimental branch?  I'd love to be able to 
use such a task.

On Thursday, February 4, 2016 at 2:04:54 PM UTC-8, Jake Wharton wrote:
>
> You won't want to modify the output directory of another task. Create your 
> own folder and put the resources there. By calling the 
> registerResGeneratingTask the Android plugin will automatically use the 
> output of your task as part of its resource processing. And in doing that 
> your task will actually run before the normal process resources task, so 
> that things like R constants are reflected properly.
>
> On Thu, Feb 4, 2016 at 9:18 AM Tomáš Procházka <[email protected] 
> <javascript:>> wrote:
>
>> So if I understand it task registered with registerResGeneratingTask () 
>> will be called after android plugin itself prepare all resources to the 
>> build/intermediate folder and I can create new resources there, right?
>>
>>
>> Dne čtvrtek 4. února 2016 3:24:15 UTC+1 Jake Wharton napsal(a):
>>
>>> You don't want to modify anything or you'll affect incremental builds. 
>>> You can create a task which parses the resource XMLs coming in, generates 
>>> the new language in a new folder in the build directory, and then register 
>>> that task as resource generating using regsiterResGeneratingTask on the 
>>> variant.
>>>
>>>
>>>> -- 
>> 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] <javascript:>.
>> 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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to