nacular / doodle-tutorials

Tutorials and examples for the Doodle framework.
https://nacular.github.io/doodle-tutorials
MIT License
26 stars 10 forks source link

removes mavenLocal #4

Closed gad2103 closed 2 years ago

gad2103 commented 2 years ago

Why is this happening?

mavenLocal was blocking the download of mpp libraries after a first run of the desktop app. which meant that it was impossible to run the js version of the app after since the mpp versions of libraries were not being fetched. this manifested as a compile time error for unresolved dependencies and a dependency tree that showed only jvm libraries in a javascript context as such:

jsCompileClasspath - Compile classpath for compilation 'main' (target js (js)).
+--- project :Calculator
|    +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.0
|    |    \--- org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.6.0
|    |         \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.0
|    |              +--- org.jetbrains.kotlin:kotlin-stdlib:1.6.0
|    |              |    \--- org.jetbrains:annotations:13.0
|    |              \--- org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.6.0
|    |                   \--- org.jetbrains.kotlin:kotlin-stdlib:1.6.0 (*)

How is it being fixed?

by removing mavenLocal from the gradle settings.