title: How to configure gradle to work "offline" (using cached dependencies)
body: <p>I have a command line apk generator which compiles a lot of APKs using the same source code, so these apps have the same dependencies.</p>
  
  <p>In the gradle documentation I can see this:</p>
  
  <blockquote>
    <p>The Gradle project needs network connectivity to download dependencies.</p>
  </blockquote>
  
  <p>I know that it is possible to configure gradle to work offline and not download the same dependencies that it has downloaded for other apks. How can this offline mode be activated?</p>