clean build will clean your outputs but not the gradle cache which is most likely ~/.gradle depending on how you invoke gradle. do you see the convertToWebp [UP-TO-DATE] when using the convertToWebp name ?
On Mon, Aug 10, 2015 at 8:29 AM Vaibhav Vishal <[email protected]> wrote: > I have been doing a clean build everytime but still same result. > It's like i will do few builds with convertToWebp and it will not execute. > With changed name it will execute everytime. > > > On Monday, 10 August 2015 11:51:58 UTC+9, Vaibhav Vishal wrote: >> >> I created a custom task with name - convertToWebp and set the dependency >> of Android plug-in task "processResources" on this task. >> But task "convertToWebp" was never executed. >> >> Surprisingly, when I changed the name to "pngToWebp" it worked perfectly >> well. >> The task executed successfully to completion. >> >> Is there any rules for naming a task or explanation for this behaviour ? >> >> Using plug-in version : 1.0.1 >> Android Studio : 1.0.2 >> Java : 1.7 >> OS : Windows 7 >> > -- > 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. > -- 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.
