I ask this question and I have found a fix. So if ...
# multiplatform
o
I ask this question and I have found a fix. So if anyone is looking for this fix. https://kotlinlang.org/docs/multiplatform/multiplatform-advanced-project-structure.html#aligning-versions-of-common-dependencies-across-source-sets val mobileMain by creating { dependsOn(commonMain.get()) androidMain.get().dependsOn(this) iosMain.get().dependsOn(this) dependencies { // implement here } } val nonMobileMain by creating { dependsOn(commonMain.get()) jvmMain.get().dependsOn(this) wasmJsMain.get().dependsOn(this) dependencies { // implement here } }
c
For discoverability it would make more sense to post it in the thread of this question instead of starting a new post. So now if someone finds your question he will not find your solution. 😃
o
Okay, I will do that next time.