IntelliJ IDEA with multiple gradle subprojects

后端 未结 2 1101
情歌与酒
情歌与酒 2020-12-31 04:12

I\'m working on multiple Gradle projects with internal and external dependencies, and so far I am happy that thanks to Gradle\'s dependency management I can modify a library

2条回答
  •  我在风中等你
    2020-12-31 04:52

    If you want to open all projects in a single IDEA window, you'll have to aggregate them into a multi-project build, at least until IDEA 13 hits the market. Before IDEA 13, it's better to use Gradle's IDEA integration. Once you have a multi-project build, all you need to do is to add allprojects { apply plugin: "idea" } to the root build script, run gradle (cleanIdea) idea, then open the generated IDEA project.

提交回复
热议问题