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

addamsson

02/09/2019, 6:18 PM
What I'm really looking forward to is a thorough guide for the
kotlin-multiplatform
plugin which includes Dokka and Maven Central deployment
i

ian.shaun.thomas

02/09/2019, 6:20 PM
It's not a guide but I publish to central with my MPP libs
The android bit is weird as I wanted JVM to be it's own module and the Android lib to depend on the JVM lib. This allows mixing of JVM and Android libraries that depend on Arbor. There's likely a better way to accomplish this than what I implemented.
a

addamsson

02/09/2019, 6:36 PM
hm
thanks!
are you publishing directly to MC?
i

ian.shaun.thomas

02/09/2019, 6:37 PM
through OSS, yes
a

addamsson

02/09/2019, 6:37 PM
that's great!
can I take your script?
i

ian.shaun.thomas

02/09/2019, 6:38 PM
of course
a

addamsson

02/09/2019, 6:38 PM
I see you are deploying to Dokka GH pages as well!
great ,you just spared me 4 hours of work 😄
(at least)
i

ian.shaun.thomas

02/09/2019, 6:38 PM
yeah, I wanted to get as much working as I could for some conference talks. I walked through it for devfest florida
glad it helped, if you don't mind, make sure you tag any libs you make on github with
kotlin-multiplatform
so that it is easier for others to find this info as well. It took a long time to figure out some of this stuff as I couldn't find examples. (by tags I mean the repo topics on the home page of the project)
a

addamsson

02/09/2019, 6:41 PM
good idea
👍
do you have an article / guide for your setup on the internet?
i

ian.shaun.thomas

02/09/2019, 6:46 PM
I do not
a

addamsson

02/09/2019, 6:46 PM
do you mind if I write one?
i

ian.shaun.thomas

02/09/2019, 6:48 PM
not at all, I take the apache licensing to heart. Code is for sharing. You can do whatever you like with it 🙂
a

addamsson

02/09/2019, 6:48 PM
thanks
I'll definitely give credit where it is due though