在用于IntelliJ的Gradle项目(2017.3)中,No Checkbox用于自动为空内容根创建空目录

tsj*_*amm 2 intellij-idea gradle

在最新的IntelliJ IDEA(2017.3)中,Create directories for empty content roots automatically创建Gradle项目时没有可用的复选框选项.但大多数资源材料都引用了此选项.我们如何启用空内容根创建?

tsj*_*amm 7

从另一个问题引用此答案:https://stackoverflow.com/a/47089985/2067238

在最新的IntelliJ IDEA(2017.3)中, 对话框中没有Create directories for empty content roots automatically可用New Project选项.但我们可以转到Preferences...- > Build, Execution, Deployment- > Gradle并选中此选项.

在此输入图像描述