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.

  1. Install Docker hub squid. thanks to sameersbn :)
  2. Create a file ~/.gradle/ with the proxy settings and then all your projects will use those settings for builds.

Any sugestions?

Blog Logo

Daniel Gomez Rico




The findings and tips records of an Android-iOS-TheWholeShabang group

Back to Overview