I'm starting to get into java modularity and I am wondering if a multi-module project should be split into sub-Gradle projects. If this is or isn't the case, what would the directory structure look like? I've seen some conflicting examples of structures for non-Gradle projects such as:
reverse/dns/module/module-info.java
./packages..
reverse/dns/module/module-info.java
./packages..
and
reverse.dns.module/
module-info.java // module-info is in the root directory and its name corresponds to parent folder
reverse/dns/module/packages..
Would it look something like this?
Really I would just like to know how to structure a Gradle project if I were to have two modules. I intend to use jlink also to create images if that conflicts with anything.