Kotlin 1.6.10 -> 1.6.20 upgrade breaks database module dependency
See original GitHub issueSQLDelight Version
1.5.3
Operating System
any
Gradle Version
7.2
Kotlin Version
1.6.20
Dialect
SQLite
AGP Version
No response
Describe the Bug
Have an already working project with database dependency between two modules. When compiling the project with kotlin 1.6.10 the auto generated database classes created correctly.
When doing the same with 1.6.20 without any other change the project breaks with the following message:
Class 'XXXDbImpl' is not abstract and does not implement abstract member public abstract val YYYQueries: YYYQueries defined in com.example.db.XXXDb
To give a repo with the broken code I forked the kampkit template and added a module with a test db and wired as a dependency to the shared
module.
Workin 1.6.10
Broken 1.6.20
This issue is similar to this issue but the trigger is the kotlin version change so i rather opened a new ticket.
Stacktrace
Class 'KaMPKitDbImpl' is not abstract and does not implement abstract member public abstract val almostTableQueries: AlmostTableQueries defined in co.touchlab.kampkit.db.KaMPKitDb
Gradle Build Script
https://github.com/stumi01/sqldelight_depedency_test/blob/bas/sqldelight_depdendency_workin_1_6_20/shared/build.gradle.kts
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:8
Top GitHub Comments
@kpgalligan @AlecStrong can we reopen the issue?
@AlecStrong My colleagues also reported the same thing when checking out my example.
M1 Mac