If you want to know another tip to boost gradle builds check faster/boost gradle builds (1/2) - enjoy multiprocess
The idea is to have a “local” squid proxy so gradle dont have to go to get every dependency when cleaned from the web. We can have this easy with a local docker :).
I will not include a tutorial about how to install docker on mac, but its really easy :P.
- Install Docker hub squid. thanks to sameersbn :)
- Create a file
~/.gradle/gradle.propertieswith the proxy settings and then all your projects will use those settings for builds.