I'm using Hexagonal Architecture in my Ktor app with the following layers - core, infrastructure and webapi, Initially I tried to have these as top-level packages (e.g. my.root.package.core), but as the app grows it's getting messy. So I thought of taking advantage of Gradle modules to split the layers (as an extra I can also better isolate implementation details for each layer). Now I'm wondering where to place the modules though, I see lots of apps with modules in the root of the project, but then I have to use a prefix to keep the module folders close to each other.
If you split your app in Gradle modules, where do you usually put them and which naming convention do you use, if any?