title: How can I force update all the snapshot Gradle dependencies in intellij
body: <p>I have a project with SNAPSHOT dependencies using gradle as its build tool in intellij.</p>
  <p>The problem is that intellij is using SNAPSHOTS that are now outdated.
  <a href="https://i.stack.imgur.com/PcVs6.png" rel="noreferrer"><img src="https://i.stack.imgur.com/PcVs6.png" alt="enter image description here" /></a></p>
  <p>When I build the project on the command line</p>
  <pre><code>gradle build or 
  gradle clean build --refresh-dependencies
  </code></pre>
  <p>On command line the latest dependencies are fetched. I also setup my grade file to always download snapshot dependencies <a href="https://discuss.gradle.org/t/how-to-get-gradle-to-download-newer-snapshots-to-gradle-cache-when-using-an-ivy-repository/7344" rel="noreferrer">according to this answer</a>.</p>
  <p>How can I force intellij to download all dependencies?</p>