Nicolas Patin
12/04/2025, 4:16 PMsqldelight {
linkSqlite = true
}
This worked with the 2.1.0 jetbrains plugin with a warning in build logs:
SQLDelight Gradle plugin was applied but there are no databases set up.
After updating the plugin to the 2.2.1 version, it fails with a Collection is empty NoSuchElementException (stacktrace in 🧵)
I tried both 2.1.0 and 2.2.1 gradle plugin version with the same result.
Is it the expected result or is it a regression from the 2.1.0 version ? Thank you!Nicolas Patin
12/04/2025, 4:17 PMjava.util.NoSuchElementException: Collection is empty.
at kotlin.collections.CollectionsKt___CollectionsKt.first(_Collections.kt:208)
at app.cash.sqldelight.gradle.SqlDelightPlugin$PropertiesModelBuilder.buildAll(SqlDelightPlugin.kt:144)
at org.gradle.tooling.provider.model.internal.DefaultToolingModelBuilderRegistry$BuilderWithNoParameter.build(DefaultToolingModelBuilderRegistry.java:268)
...