How to cache Gradle dependencies inside Gitlab CI : <p>I add cache property inside my <code>gitlab-ci.yml</code> file in my Android project.</p>

<pre><code>cache:
  paths:
    - .gradle/wrapper
    - .gradle/caches
</code></pre>

<p>But in each pipeline when I run <code>./gradlew assemble</code>, It downloads all gradle dependencies which cause slow build time.</p>
