Diego DeSouza
11/20/2022, 3:04 PMsqldelight {
database("AppDatabase") {
packageName = "com.jetbrains.handson.kmm.shared.cache"
}
}
while using Android studio, I’m not able to create a package like that, but directory instead, that looks like this.
sqldelight {
database("AppDatabase") {
packageName = "com.example.ktorSQLDelight.shared.commonMain.sqldelight.shared.cache"
// packageName = "com.example.shared.cache"
}
}
i called this project ktorSQLDelight, i tried the above, but my AppDatabase is never “found” by the rest of the app.hfhbd
11/20/2022, 3:16 PMbuild/generated/sqldelight
Diego DeSouza
11/20/2022, 3:18 PMhfhbd
11/20/2022, 3:20 PMDiego DeSouza
11/20/2022, 3:21 PMhfhbd
11/20/2022, 3:22 PMDiego DeSouza
11/20/2022, 3:23 PMDiego DeSouza
11/20/2022, 3:27 PMhfhbd
11/20/2022, 3:31 PMDiego DeSouza
11/20/2022, 3:37 PMDiego DeSouza
11/20/2022, 3:38 PMhfhbd
11/20/2022, 3:40 PMhfhbd
11/20/2022, 3:40 PMhfhbd
11/20/2022, 3:41 PM./gradlew generateSqlDelightInterface
Diego DeSouza
11/20/2022, 3:58 PMhfhbd
11/20/2022, 4:02 PM