How can I force update all the snapshot Gradle dependencies in intellij

后端 未结 5 1957
臣服心动
臣服心动 2020-12-25 09:53

I have a project with SNAPSHOT dependencies using gradle as its build tool in intellij.

The problem is that intellij is using SNAPSHOTS that are now outdated.

5条回答
  •  伪装坚强ぢ
    2020-12-25 10:21

    In IntelliJ 2017.2 you can right-click on the project name in the Gradle Tool Window and select Refresh dependencies from the context menu.

    Refresh Gradle dependencies in IntelliJ 2017.2

    This will refresh all your dependencies, not only the SNAPSHOTS, so it might take a while. I don't know if other versions of IntelliJ also have this feature.

提交回复
热议问题