This is functionality entirely provided by IntelliJ. It is not calling a Gradle command.
Just creating a module is very simple though. You only have to add include '1_herhaling'
to settings.gradle
.
Everything else is optional, but you’ll probably want to add the 1_herhaling
folder right away as well.
You don’t necessarily need a build.gradle
file as your root build.gradle
file could configure your subproject. That’s stylistically up to you.
You may want src/main/java
, src/main/resources
, src/test/java
, and src/test/resources
, but you don’t need to create all of them if you don’t have code for all of them. Anything beyond the settings.gradle
addition are implementation details for your module, not anything to do with adding the module itself. The IntelliJ feature just adds templated items that you may want, but don’t necessarily need.