That's more an IntelliJ question, not a Gradle question.
From the Gradle side, you could change the configuration from the default, so that you have the sources directly in
src
.
From Intellij side, ask JetBrains. :-)
a
Alexander Z
10/13/2023, 2:41 AM
from someone else doing the whole monorepo thing: putting those java files directly under src/ is what i did and is tolerable. in theory (though i haven't done it since it goes too far against the normal gradle way) you could even do things such that those files can be directly next to the build.gradle file (though y without an extra src folder but you'd need to make a custom plugin/task to allow that; by default if you try that you'll get implicit depoendencies issues