Hi, I would like to use sqldelight db in my KMM pr...
# multiplatform
m
Hi, I would like to use sqldelight db in my KMM project, but I am struggling with integration. I have defined sq file and when I run build it will generate the sources in 2 packages. One is commonMain and second is commonCommonMain. Because the generated classes are twice I get lots of errors about redeclaration. What can I change to have only one package?
d
What version of SQLDelight are you using? There are some incompatibilities with older versions of SQLDelight and Kotlin 1.8
m
1.5.5
d
Hmm that shouldn't be a problem then 🤔
r
Using sqldelight 2 solved the problem for me
h
Sure to make sure, you are using version 1.5.5 of the sqldelight Gradle plugin?
103 Views