glade
01/16/2020, 7:13 PMCould not determine the dependencies of task ':models-js:compileKotlinJs'.
> Could not resolve all task dependencies for configuration ':models-js:compileClasspath'.
> Could not resolve project :models.
Required by:
project :models-js
> Unable to find a matching variant of project :models:
- Variant 'apiElements' capability com.gigwell.shared.models:models:1.0:
Can someone recommend a recently updated project (hopefully on 1.3.61+) and Gradle 5/6 that demonstrates this? The closest I found is kotlin-todomvc but its still using
"org.jetbrains.kotlin.frontend"
CheersSean Keane
01/16/2020, 7:17 PMclasspath("org.jetbrains.kotlin:kotlin-gradle-plugin:${Versions.kotlin}")
glade
01/16/2020, 7:29 PM* Shared
* buildSrc (Just versions, after reading some posts here, this probably will go away for us.)
* models (jvm)
* models-js (js)
Robert Jaros
01/16/2020, 10:14 PMglade
01/16/2020, 10:15 PMglade
01/16/2020, 10:16 PMplugins {
kotlin("multiplatform")
}
...
kotlin { jvm() {...} js() {...} }
?
Robert Jaros
01/16/2020, 10:22 PMglade
01/16/2020, 10:22 PMRobert Jaros
01/16/2020, 10:23 PMRobert Jaros
01/16/2020, 10:24 PMglade
01/16/2020, 10:26 PMglade
01/16/2020, 11:49 PMMatteo Mirk
01/17/2020, 3:46 PM