Intellij Re-import Gradle Project

前端 未结 6 1543
予麋鹿
予麋鹿 2021-01-03 20:24

I just added a new test source directory to my Gradle project and want IntelliJ to recognize it. I can close the project and reopen the build.gradle file and ch

6条回答
  •  轮回少年
    2021-01-03 20:54

    IntelliJ 13 supports "refreshing" the Gradle project. When the project is refreshed any dependency changes are picked up as well as any changes to the project structure.

    In order to do so go to View -> Tool Windows and open the Gradle Tool Window you find the refresh button in the upper bar.

提交回复
热议问题