Intellij Re-import Gradle Project

前端 未结 6 1511
予麋鹿
予麋鹿 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:47

    The Gradle support in IntelliJ 12 is limited. (I've heard 12.4 is somewhat better, but I don't know if it supports updating the project.) Either check out the new Gradle plugin in IntelliJ 13 (EAP), or generate IDE files using Gradle's IntelliJ plugin.

提交回复
热议问题