I have a weird issue: Task 'generateAndroidDebugD...
# multiplatform
m
I have a weird issue: Task 'generateAndroidDebugDatabaseInterface'. Is given me this:
k
same here. it’s an issue and seems like the fix is in a snapshot build already. https://github.com/cashapp/sqldelight/issues/1894
m
Yes you are right. thx a lot. How can I used the snapshot build, can't find it..
Hum I see the merge in the master branch, but I'm sorry, I don't know how to include that in my current project...
I'm stuck. 😅
s
You'll want to change the version to
1.5.0-SNAPSHOT
m
Thank you so much!!!
Hum it's not working..
Not resolved.
s
m
Hum thanks a lot for the example, but I tried the exact same thing and here the pb:
s
not the same, I don’t see the snapshot repository url in that list of searched locations
are you missing
maven {url '<https://oss.sonatype.org/content/repositories/snapshots>' }
in your
buildscript.repositories {}
block?
m
Hum I have it since the begin. Here my buildscript. (at the root project)
Copy code
buildscript {
    repositories {
        google()
        mavenCentral()
        jcenter()
    }
    dependencies {
        classpath(Deps.android_gradle_plugin)
        classpath(Deps.SqlDelight.gradle)
        classpath("org.jetbrains.kotlin:kotlin-serialization:${Versions.kotlin}")

        classpath(kotlin("gradle-plugin", Versions.kotlin))
        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build gradle files
    }
}

plugins {
    id("org.jlleitschuh.gradle.ktlint") version Versions.ktlint_gradle_plugin
}

allprojects {
    repositories {
        google()
        mavenCentral()
        jcenter()
        maven(url = "<https://kotlin.bintray.com/kotlinx>")
        maven(url = "<https://dl.bintray.com/ekito/koin>")
        maven(url = "<https://dl.bintray.com/touchlabpublic/kotlin>")
        maven(url = "<https://oss.sonatype.org/content/repositories/snapshots/>")
    }
}
Hum Ok I found it!! I put the mavec uri in the buildscript like you said. Don't know why the allprojects not working...
Thank you a lot.
s
for people still following this thread, SQLDelight 1.4.2 is out with a fix
🎉 2
m
Yeah!!!