https://kotlinlang.org logo
j

JoakimForslund

09/02/2019, 8:40 AM
Stupid question: If I have a multiplatform project, and want to make the commonMain of that project to import another commonMain from another module. Is this not the correct way of doing that
implementation(project(":SharedGlobals"))
?
Given that the module in question builds fine
The error i'm getting:
Copy code
ERROR: Unable to resolve dependency for ':SharedModuleOne@release/compileClasspath': Could not resolve project :SharedModuleTwo.
s

Sebastian Sellmair [JB]

09/02/2019, 10:11 AM
Are all modules included inside your settings.gradle?
j

JoakimForslund

09/02/2019, 10:52 AM
Yes. However,
SharedModuleOne
has also android and iOS targets along with the common
2 Views