https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
g

gaetan

12/10/2019, 10:49 PM
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

darkmoon_uk

12/10/2019, 11:46 PM
@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

russhwolf

12/11/2019, 12:31 AM
The Multiplatform Settings sample project has all three of those targets: https://github.com/russhwolf/multiplatform-settings/tree/master/sample
👍 2
n

Nikky

12/11/2019, 2:56 PM
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

gaetan

12/11/2019, 2:57 PM
It’s the third time during the last year that I try. I’m more optimistic this time.
2 Views