Sqldelight: SQLDelight gradle plugin not compatible with Kotlin 1.3.20

Created on 24 Jan 2019  Â·  8Comments  Â·  Source: cashapp/sqldelight

When attempting to use the update (admittedly was released hours ago), I get this error (using SQLDelight version 1.0.1):

A problem occurred configuring root project '<name>'.
> Failed to notify project evaluation listener.
   > org.jetbrains.kotlin.gradle.plugin.mpp.KotlinNativeCompilation.getLinkAllTaskName()Ljava/lang/String;

This goes away if I commoent out the apply plugin: 'com.squareup.sqldelight' and the sqldelight {} block in our build.gradle

Most helpful comment

we're blocked on sqliter and stately bumping to 1.3.20 since the kotlin native bitcode isnt ABI compatible.

Once those are out we'll push a release asap

All 8 comments

I'm not having this issue on two projects. Do you have a full trace? What platform are you using it with?

I'm using it with iOS. Working on coming up with a repro project right now.

MPPSample.zip

Okay this project using Kotlin 1.3.20 fails with that error in the configure step

That project was made with IntelliJ, so you can reproduce by opening it in IntelliJ and refreshing gradle. Happy to generate a gradlew and re-upload if that'd be easier.

Ah, I am using it with Android, JVM, and JS so perhaps it's a native thing.

On Wed, Jan 23, 2019, 6:17 PM Ben Asher <[email protected] wrote:

That project was made with IntelliJ, so you can reproduce by opening it in
IntelliJ and refreshing gradle. Happy to generate a gradlew and re-upload
if that'd be easier.

—
You are receiving this because you commented.

Reply to this email directly, view it on GitHub
https://github.com/square/sqldelight/issues/1191#issuecomment-457004202,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAEEEUkUSRjhJKsQ10AebDcbzgMcYp0jks5vGO1_gaJpZM4aPzZ1
.

That could make sense, since it mentions KotlinNativeCompilation in the crash!

we're blocked on sqliter and stately bumping to 1.3.20 since the kotlin native bitcode isnt ABI compatible.

Once those are out we'll push a release asap

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jrodbx picture jrodbx  Â·  4Comments

KChernenko picture KChernenko  Â·  4Comments

Nishant-Pathak picture Nishant-Pathak  Â·  3Comments

mhernand40 picture mhernand40  Â·  5Comments

Nimrodda picture Nimrodda  Â·  4Comments