Search code examples
javagradleintellij-idea

Gradle not pulling down new dependencies


I'm having trouble updating my Gradle project with new packages. In IntelliJ I checked Preferences > Build, Execution, Deployment > Build Tools > Maven > Repositories. It shows the following repos:

https://repo1.maven.org/maven2
/Users/paulcarron/.m2/repository

I tried updating them but now both show the following error: enter image description here

Could this be the reason my project isn't updating and if so how do I resolve this?


Solution

  • In the Gradle tools window I then right clicked the project and selected Refresh Gradle Dependencies it was pulled down.