I need help with getting a simple demo project compiling. The project consists of 2 layers of modules that depend on each other. Each layer consists of 3 modules: common, jvm, js.
For better illustration, I created a small dependency graph of my modules:
The whole project can be found on github, too:
I try to build the project via gradle with the following command:
And gradle will return the following failure:
e: /…/DemoCommon.kt: (3, 8): Unresolved reference: dependency
e: /…/DemoCommon.kt: (7, 21): Unresolved reference: DependencyCommon
FAILURE: Build failed with an exception.
Any help is much appreciated.