Linking Gradle build projects in IntelliJ
Answered
I have asked a question on stackoverflow: https://stackoverflow.com/questions/77140985/how-to-link-two-projects-modules-in-intellij-with-gradle-as-build-system
Please sign in to leave a comment.
Hello, Tor!
For this scenario, I believe, Gradle's Composite Build would be the optimal solution.
Let me know if this works for you!
Best regards,
Roman
Do I need to edit my settings.gradle.kts? I cannot use IntelliJ for this?
For Gradle-based Projects IDEA strictly follows Gradle's logic to ensure full compatibility, so that would be the only feasible option to link the Projects together.
You can have multiple Gradle Project opened in IDEA at once (via Link/Unlink Gradle Project options in Gradle Tool Window), but they will be treated as separate, standalone Projects.