I’m on a team that’s standardized on IntelliJ. We’re working on a legacy codebase with dozens of projects. There is no single “delivery” project; instead, many of the projects are libraries by other projects, and many of the projects are deliverables. No single project includes every other project (or even a majority of the projects) as its dependencies.
Due to the huge amount of code, we don’t have a single massive IntelliJ project. Instead, every module has its own project file that loads that module plus all its dependencies.
In case that wasn’t clear, here’s an example. Suppose our projects (modules) look like the following: A depends on no other projects B depends on A C depends on A D depends on B E depends on C
Each module would have a project file (IPR) loading the following: A: Just A B: A and B C: A and C D: A, B, and D E: A, C, and E
If I’m working on E, then I load E’s project file. I can see E and all its dependencies but not any of the projects I don’t care about.
As far as I can tell, with Gradle, the Idea plugin only supports generating a single massive IPR in the “master” directory which loads up every single module. Is there any way to generate the kind of structure that we use?