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

itnoles

12/22/2018, 4:33 AM
Does kotlin-platform-common supports Gradle 5.0?
p

pajatopmr

12/24/2018, 11:08 AM
I think the question you are asking is “how does one configure Kotlin multiplatform for Gradle 5.0?” which is something I am trying unsuccessfully to build using, first, the standard Groovy pattern and second, the Kotlin DSL. Examples for Kotlin 1.3.11 and 1.3.20-eap-52 would be nice.
l

Liliia

12/26/2018, 1:02 PM
What are the problems you experience with building multiplatform project with Gradle 5.0? Basically, it should work as good as 4.7 does, unless you have a native target and the corresponding dependencies in the project. If you do, then Gradle 4.7 is the only option so far (see https://kotlinlang.slack.com/archives/C3PQML5NU/p1543243362647800 for example), but we are working on support of 4.8+ versions
p

pajatopmr

12/27/2018, 6:54 AM
Thanks @Liliia and yes, I am trying to get a native target working. So, with 1.3.11 I must use 4.7 but with 1.3.20-eap-52 I should be able to use Gradle 5.0 woking with all targets. Correct?
l

Liliia

12/27/2018, 9:38 AM
but with 1.3.20-eap-52 I should be able to use Gradle 5.0 woking with all targets
— unfortunately, not yet. Still, 4.7 is the only option. Please follow the issue to get the updates on that: https://youtrack.jetbrains.com/issue/KT-29045