brabo-hi
09/03/2023, 5:38 AMCannot access class 'app.cash.sqldelight.db.SqlSchema'. Check your module classpath for missing or conflicting dependencies
What am i missing?Kirill Zhukov
09/03/2023, 6:18 AMbrabo-hi
09/03/2023, 8:29 AMTrey
11/28/2023, 8:08 PMbrabo-hi
11/28/2023, 8:09 PMTrey
11/28/2023, 8:10 PMTrey
11/28/2023, 8:18 PMbrabo-hi
11/28/2023, 11:31 PMTrey
11/28/2023, 11:32 PMbrabo-hi
11/28/2023, 11:35 PMplugins {
alias(libs.plugins.sqldelight)
}
kotlin {
sourceSets {
commonMain {
dependencies {
api(libs.sqldelight.runtime)
api(libs.sqldelight.primitive.adapters)
api(libs.sqldelight.coroutines.extensions)
}
}
androidMain {
dependencies {
api(libs.sqldelight.android.driver)
api(libs.sqldelight.androidx.paging3.extensions)
}
}
iosMain {
dependencies {
api(libs.sqldelight.native.driver)
}
}
}
}
brabo-hi
11/28/2023, 11:36 PMapi(project(":myDatabaeModule"))
Trey
11/28/2023, 11:37 PMbrabo-hi
11/28/2023, 11:38 PMbrabo-hi
11/28/2023, 11:38 PMisStatic = false
brabo-hi
11/28/2023, 11:40 PMTrey
11/28/2023, 11:40 PMTrey
11/28/2023, 11:41 PMbrabo-hi
11/28/2023, 11:43 PMkotlin {
cocoapods {
framework {
baseName = "myDatabaeModule"
linkerOpts += "-lsqlite3" // this is needed for now
isStatic = false // this is needed for now
}
}
}
Trey
11/28/2023, 11:44 PMbrabo-hi
11/28/2023, 11:46 PMTrey
11/28/2023, 11:47 PMTrey
11/29/2023, 4:22 PMbrabo-hi
11/29/2023, 4:22 PMTrey
11/30/2023, 6:51 PMbrabo-hi
11/30/2023, 7:28 PMTrey
11/30/2023, 7:30 PM* What went wrong:
Execution failed for task ':databaseModule:compileDebugKotlinAndroid'.
> Could not resolve all files for configuration ':databaseModule:debugCompileClasspath'.
> Failed to transform kotlin-stdlib-jdk8-1.9.10.jar (org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.9.10) to match attributes {artifactType=android-classes-jar, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-api}.
> Could not download kotlin-stdlib-jdk8-1.9.10.jar (org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.9.10): Skipped due to earlier error
> Failed to transform annotation-1.2.0.jar (androidx.annotation:annotation:1.2.0) to match attributes {artifactType=android-classes-jar, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.jvm.version=7, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-api}.
> Could not download annotation-1.2.0.jar (androidx.annotation:annotation:1.2.0): Skipped due to earlier error
Trey
11/30/2023, 7:30 PMCaused by: org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all files for configuration ':databaseModule:debugCompileClasspath'.
Trey
11/30/2023, 7:31 PM