Hi, I'm currently working on a transisition from eclipse to Android Studio and therefore also to gradle. By now I got my build scripts (multi-project setup) working nicely. I'm facing a big problem though. Some observations:
- gradle calls aapt for each and every png file to optimize it - It does this in parallel though (4 processes, 4 core CPU) - ~1250 PNGs - I use the same build tools in both eclipse and gradle (latest) - I currently have to rely on the plugin 0.7.3 as 0.8+ breaks my complete build (other issue) - My anti virus has a policy set with one exception. The dev's projects directory. Building my project in eclipse takes around ~2 miutes from a clean state. Building the same in gradle takes around ~10 minutes. I tracked it down to my antivirus using substential amount of CPU and HDD power to scan (temporrary?) files. Comparing to the eclipse debug output, it seems that eclipse does NOT call aapt for every single png file. Are my assumptions correct? Does gradle store the files it is working on in a different directory? It seems that eclipse doesn't go outside of the projects directory as my antivirus doesn't kick in. Is there any setting I can set to limit gradle build execution to the specific directory? Relevant log: 10:24:28.937 [INFO] [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] :main:mergeDebugResources (Thread[main,5,main]) completed. Took 8 mins 36.895 secs. Thanks. Max. -- 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.
