sqldelight icon indicating copy to clipboard operation
sqldelight copied to clipboard

Compiled with an older Kotlin/Native compiler and can't be read in IDE

Open vanniktech opened this issue 2 years ago • 2 comments

SQLDelight Version

2.0.0-alpha03

IDE Version

2022.2 EAP 5

Dialect

SQLite

Describe the Bug

When opening my project with 2022.2 EAP 5 the following notification appears:

There are 6 third-party libraries attached to the project that were compiled with an older Kotlin/Native compiler and can't be read in IDE: 

Gradle: app.cash.sqldelight:native-driver:nativeLinuxLikeMain:2.0.0-alpha03

(The others are from ktor)

This has happened also with 2.0.0-alpha02 although there were a lot more modules affected now it's only this one:

app.cash.sqldelight:native-driver:nativeLinuxLikeMain:2.0.0-alpha03

Is there anything special going on? I thought the entire alpha03 release was built with Kotlin 1.7.0 which from my understanding should fix this particular issue.

Stacktrace

No response

vanniktech avatar Jun 22 '22 09:06 vanniktech

My guess is that it is a SQLiter thing, but yes SQLDelight is 1.7.0 so nothing we do should cause this

AlecKazakova avatar Jun 22 '22 12:06 AlecKazakova

@kpgalligan is that so?

vanniktech avatar Jun 22 '22 12:06 vanniktech

I've stopped seeing this with IntelilJ 2022.2, Kotlin 1.7.10 & sqldelight 2.0.0-alpha03

vanniktech avatar Aug 23 '22 09:08 vanniktech