https://kotlinlang.org logo
#squarelibraries
Title
# squarelibraries
r

Rafs

11/24/2023, 12:25 PM
What is the latest snapshot version of SQLDelight? I'm specifically looking for a version that solves this issue on multiplatform https://github.com/cashapp/sqldelight/issues/4598
b

Benoit Quenaudon

11/24/2023, 12:34 PM
2.1.0-SNAPSHOT
j

Joel Denke

11/24/2023, 6:30 PM
Ah thanks for bring this one up. Thought it was me doing something wrong. Had same issue in older version of sqdelight as well. Also the new dsl not either working for like commonMain except from AndroidTarget
t

Trey

11/29/2023, 4:26 PM
I saw a similar issue when the sqldelight plugin isn't defined in the main build.gradle.kts file. Not sure if that may be the issue or not. i.e.
Copy code
plugins {
    // this is necessary to avoid the plugins to be loaded multiple times
    // in each subproject's classloader
    alias(libs.plugins.androidApplication) apply false
    alias(libs.plugins.androidLibrary) apply false
    alias(libs.plugins.jetbrainsCompose) apply false
    alias(libs.plugins.kotlinCocoapods) apply false
    alias(libs.plugins.kotlinMultiplatform) apply false
    alias(libs.plugins.kotlinSerialization) apply false
    alias(libs.plugins.sqldelight) apply false
}
j

Joel Denke

11/29/2023, 4:36 PM
@Trey Yeah thanks this was what I forgot to add for sqldelight. Had for all my pther plugins 😄 Then it works 🙂