Gradle configuration takes more than few seconds

Viewed 47

I am trying to optimize build process of Android application. It is a multimodule project (63 modules) and pretty much all of them are android-library.

I have tried to comment out everything possible, yet my configuration is stuck at 25 seconds. All internet resources say it should be around 1-2 seconds. (https://youtu.be/sQC9-Rj2yLI?t=1777)

Everything takes 0.001s or a little bit more and then callback which take 0.8 seconds (which is still okay), but what is "script application"?

enter image description here

./gradlew temp:assembleDebug --scan --no-build-cache --refresh-dependencies --configure-on-demand --daemon

I have also played with different memory variables in my gradle.properties but this number does not get reduced.

0 Answers
Related