Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Discussion options

You must be logged in to vote

Looks like it is because the native-driver is published as a non-JVM dependency and can only be used in a native module - :composeApp:desktopDev:is JVM

kotlin {
  // or iosMain, windowsMain, etc.
  sourceSets.nativeMain.dependencies {
    implementation("app.cash.sqldelight:native-driver:2.1.0")
  }
}

run cli command to see more details ./gradlew build --info

You can see some example projects if you search in :octocat: https://github.com/search?q=app.cash.sqldelight%3Anative-driver%3A2.1.0&type=code

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@w-jablonski
Comment options

Answer selected by w-jablonski
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants