I try to move data2viz to the “new” MPP plugin. We...
# multiplatform
g
I try to move data2viz to the “new” MPP plugin. We are currently targetting JS, JavaFx and Android. I don’t find any example of a project with the new MPP plugin that does this. Is it possible? Does anyone has a project that I could use as an example?
d
@gaetan JS I can't help with - but I did work through some complication with having JavaFx and Android in the same multi-module project (due to the interaction between their plugins and the fact they're both JVM based). This may help: https://git.chrishatton.org/chris/kotlin-multiplatform-template Critically - use of a Gradle attribute to disambiguate JavaFx vs Android across module dependency boundaries.
👍 1
r
The Multiplatform Settings sample project has all three of those targets: https://github.com/russhwolf/multiplatform-settings/tree/master/sample
👍 2
n
i actually moved back from the new mpp stuff to a multi stage project with just one on the subpprojects using mpp i am using this as a sample: https://github.com/bdudelsack/kotlin-fullstack-example this is still missing stuff like publishing
g
It’s the third time during the last year that I try. I’m more optimistic this time.