How to create a gradle-based Java Project in Intellij IDEA 13.0.1 Community

前端 未结 2 1919
没有蜡笔的小新
没有蜡笔的小新 2020-12-07 12:20

I want to start a empty project with Gradle in Intellij IDEA but it seems not so convenient as Eclipse does.

What I did is File->New Project->Gradle. And a project s

相关标签:
2条回答
  • 2020-12-07 12:36

    When creating new Gradle project, select "Create directories for empty content roots automatically".

    New Gradle project wizard

    New project will have those directories.

    Gradle project structure

    0 讨论(0)
  • 2020-12-07 12:41

    In latest IntelliJ IDEA Community Edition(2018.1), there's no Create directories for empty content roots automatically option available in New Project dialog. But we can go to Preferences...->Build, Execution, Deployment->Gradle and check the underlined option in the screenshot below.

    0 讨论(0)
提交回复
热议问题