I am trying to create a Gradle Java application.
In the New Project wizard, two options are available:
What do those two options mean? What are the differences?
In this new EAP, IntelliJ IDEA can also use qualified names to organize modules. In the IntelliJ IDEA 2017.3 EAP build, grouping by qualified module names will be enabled by default if there are no module groups configured in your current project. If the Flatten Module option is off, modules are shown as a hierarchy.
If you have a large project with multiple modules, grouping will make it easier to navigate through your project. Module groups can be nested: a group can contain other subgroups. IntelliJ IDEA 2017.3 and later uses fully qualified names to group modules.
For information on how to attach a Maven or Gradle project to your current project, refer to Link a Gradle project to an IntelliJ IDEA project and Link and unlink a Maven project. In IntelliJ IDEA, you can logically group modules. If you have a large project with multiple modules, grouping will make it easier to navigate through your project.
Projects with multiple modules IntelliJ IDEA allows you to have many modules in one project, and they shouldn't be just Java. You can have one module for a Java application and another module for a Ruby on Rails application or for any other supported technology.
This refers to the ability to manually create groups of modules using whatever naming you like, and assigning modules to whichever groups you like. You can manipulate your module groups in Project Structure -> Project Settings -> Modules. This functionality has been in Intellij for some time. This doesn't affect the behavior of your code, but is simply a way for you to stay organized.
This is a newer option. It refers to the qualified module names introduced by Java 9 Jigsaw, which formalized the concept of modules in Java. If you choose this option, your modules will be grouped by their Jigsaw module names. In other words, Intellij will visually organize your modules according to the way Java understands them to be grouped.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With