Hi,
I don't know if you tried, but if you have a processor with several cores you
may appreciate to put this in your gradle.properties file
org.gradle.parallel=true
See
https://docs.gradle.org/current/userguide/build_environment.html#sec:gradle_configuration_properties
for details
Warning: in Gradle 3.2.1 (our current version) this is experimental (Beta) but
seems to work perfectly so far
I found it in https://zeroturnaround.com/rebellabs/making-gradle-builds-faster/
but did not explore the other possibilities yet
I just found also https://guides.gradle.org/performance/ which seems more CI oriented and certainly a definitive reference, but I must say have not
time to explore yet...
Jacques