android - Gradle build time too slow -
i have android project has around 15 modules each of them separate github project, of modules have interdependencies, sample client library has 14 components(modules).
every time make single change , re build/run takes takes 1 min 40 seconds on i7 28gb ram
i have tried many things improve build time, including tips in article,but have not seen significant change. https://medium.com/@erikhellman/boosting-the-performance-for-gradle-in-your-android-projects-6d5f9e4580b6
it looks goes through modules , see if date, takes time, compiling , dexing.
does 1 have idea on how improve this?
i using gradle plugin 1.2.3, buildtools 22.0.1 , taskwrapper 2.4
i suffering same problem before google announced in there last i/o there big improvement in performance in gradle , android studio in common.
but me single trick helps me lot , reduce time more 50%.
make gradle run offline.
Comments
Post a Comment