This is my solution how to speed up building gradle processes without running it in console.
There are two steps:
1. adding option to run parallel and offline
2. don’t allow download new versions using libs (especially when you build few times per minute – it is not necessary to check every time).
So first go to Android Studio settings page, and then to:
[java]Build, Execution, Deplyoment > Build Tools > Compiler[/java]
and paste into
[java]Command-line Options[/java]
this
[java]–parallel –offline[/java]
Next step, go to:
[java]Build, Execution, Deplyoment > Build Tools > Gradle[/java]
and check <pre>aaa</pre>
[java]Offline work[/java]
Difference will beĀ noticeable.

