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

pajatopmr

12/29/2018, 8:53 AM
In my attempt to build a 1.3.20-eap-52 multi-platform app using custom libraries built with 1.3.11, I have encountered a build failure that might be a bug. That said, it could just as easily be a configuration issue with my code. I will post details and answer followup questions in this thread. Most importantly, it would be good to know if someone has a running 1.3.20-eap-52 multiplatform project with native code using Gradle 5.0, a Kotlin build script, and custom libraries built and published with a released version of Kotlin (1.3.11 or earlier).
Here’s the failing screen shot: Screen Shot 2018-12-29 at 3.39.11 AM.png
And the build script: Screen Shot 2018-12-29 at 3.55.19 AM.png
@h0tk3y @msink Can you please let me know if you think this is my issue (a problem with my code) or a JetBrains issue. Specifically the ABI version mismatch. Thanks.
d

Dico

12/29/2018, 9:31 AM
I think you're expected to use gradle 4.7 on multiplatform projects with native dependencies
👌 1
Maybe 4.8, I don't remember
p

pajatopmr

12/29/2018, 9:56 AM
Yes, my understanding is that 4.7 is required for Kotlin native to work for released Kotlin versions. I’m not sure yet what to expect with 1.3.20-eap-52. Answering that question is part of my goal in this effort, as well as to help uncover any relevant issues for JetBrains.
j

Jonas Bark

12/29/2018, 10:24 AM
I'm getting the exact same error
p

pajatopmr

12/29/2018, 11:34 AM
Good to know. Thanks.
d

Dico

12/29/2018, 4:44 PM
I don't see why the gradle version you need would change from 4.7 unless it's explicitly mentioned in the change log for the eaps.
p

pajatopmr

12/29/2018, 7:04 PM
@Dico Three things: 1) for Android, I need 4.10+; 2) working around a 4.7 issue for native is somewhat annoying; 3) change log for the eaps? How do I find that? Thanks.
7 Views