Using Ij with monorepo?

Answered

We have a monorepo project structure where the entire repo (no, it's not that big) consists of many Java and non-Java components:

monorepo (M)
|---- (no build.gradle/pom.xml here)
|-----|top-level-Java-project (J)
-----| build.gradle
-----| module1 (gradle submodule)
-----| module2 (gradle submodule)
-----| ...
|-----|scripts
|-----|config
| ...

When I open the main Java project (J), things work correctly, all references are resolved, I can work normally. But sometimes I do need to update the source code that is directly in M, but not in J. Opening M in Ij gives me several problems, mainly because it is not a Java/Ij project.

Are people running into something like this? What are your recommendations?

 

1 comment
Comment actions Permalink

Set up a new module with the content/source roots that you need to edit.

0

Please sign in to leave a comment.