Someone from K/N team, should this page be updated...
# kotlin-native
g
Someone from K/N team, should this page be updated with Kotlin/Native platfrom plugin and also mention MPP plugin as one of options? https://kotlinlang.org/docs/tutorials/native/gradle-for-kotlin-native.html Konan doesn’t work with new Gradle and probably already outdated in general
j
We are working on it. The update should soon be available on the site. I think that reference document is the closest right now to what you are looking for https://kotlinlang.org/docs/reference/building-mpp-with-gradle.html
g
Thanks for the update 👍
j
Please feel free to ask a more detailed question
g
No, I know how to use MPP and platoform plugins, I just saw already a few people in a last few days, who tried to use Konan and had problems with Gradle 5 and was surprised when I checked kotlinlang.org docs and saw Konan there as the only option
j
I see. There will be no
konan
plugin in the tutorials 🙂
g
Yeah, I got it, thanks!
d
Is there a guide somewhere how to setup unit tests in gradle for k/n-framework?
j
You may use
kotlin.test
library for that. Every MPP Kotlin/Native target has it’s test executable binary. I’ll create a short example for it and share it here. The topic is in the list of tutorials to write
d
Ok, great!
j
https://github.com/jonnyzzz/kotlin-native-mpp-template Check out one of the
*+tests
branches for an example
👍 1