If I compound 2 or more projects using gradle and java 9, 10 or 11 modules, and the projects have IntelliJ UI designer elements, it will never compile. It shows this error:
Error occurred during initialization of boot layer java.lang.LayerInstantiationException: Package com.intellij.uiDesigner.core in both module test2 and module test.
How can I solve that? I need to use modules on my projects. I created a ticket long ago, but no responses over the year: https://youtrack.jetbrains.com/issue/IDEA-191469