SQLDelight Version
2.2.1
Operating System
MacOS
Gradle Version
9.1.0
Kotlin Version
2.3.0
Dialect
SQLite
AGP Version
9.0.0-rc02
Describe the Bug
When the app.cash.sqldelight plugin is applied to an Android module with AGP9, it failed with:
A problem occurred configuring project ':app'.
> KotlinSourceSet with name 'main' not found.
The workaround is to disable android.disallowKotlinSourceSets in gradle properties
I have prepared a minimum reproducer here, thanks!
https://github.com/kevinguitar/sqldelight-agp9-repro
SQLDelight Version
2.2.1
Operating System
MacOS
Gradle Version
9.1.0
Kotlin Version
2.3.0
Dialect
SQLite
AGP Version
9.0.0-rc02
Describe the Bug
When the
app.cash.sqldelightplugin is applied to an Android module with AGP9, it failed with:The workaround is to disable
android.disallowKotlinSourceSetsin gradle propertiesI have prepared a minimum reproducer here, thanks!
https://github.com/kevinguitar/sqldelight-agp9-repro