Is anyone else affected by <https://github.com/goo...
# ksp
e
Is anyone else affected by https://github.com/google/ksp/issues/1034 or looking into it? It seems to be blocking our update to Kotlin 1.7
j
I am planning to take a look.
e
thank you 🙂
j
I tried to reproduce this case in our test, but failed to do so. It might be related to android plugin, is your project also built with android plugin? @elihart
e
yes, we also have the android plugin
thank you, we can try it early next week
we tried the new version, but there seems to be a change that is incompatible with sqldelight (version 1.5.3) so gradle configuration fails and we can’t even get to the build steps to verify your fix 😕
Copy code
Caused by: java.lang.IllegalStateException: Couldn't find debug in {androidTest=null, androidTestDebug=null, androidTestRelease=null, debug=null, main=null, release=null, test=null, testDebug=null, testFixtures=null, testFixturesDebug=null, testFixturesRelease=null, testRelease=null}	
at com.squareup.sqldelight.gradle.kotlin.SourceRootsKt.sources(SourceRoots.kt:105)	
at com.squareup.sqldelight.gradle.kotlin.SourceRootsKt.sources(SourceRoots.kt:46)	
at com.squareup.sqldelight.gradle.SqlDelightDatabase$sources$2.invoke(SqlDelightDatabase.kt:30)	
at com.squareup.sqldelight.gradle.SqlDelightDatabase$sources$2.invoke(SqlDelightDatabase.kt:30)	
at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74)	
at com.squareup.sqldelight.gradle.SqlDelightDatabase.getSources(SqlDelightDatabase.kt:30)	
at com.squareup.sqldelight.gradle.SqlDelightDatabase.registerTasks$sqldelight_gradle_plugin(SqlDelightDatabase.kt:130)	
at com.squareup.sqldelight.gradle.SqlDelightPlugin.setupSqlDelightTasks(SqlDelightPlugin.kt:137)	
at com.squareup.sqldelight.gradle.SqlDelightPlugin.access$setupSqlDelightTasks(SqlDelightPlugin.kt:34)	
at com.squareup.sqldelight.gradle.SqlDelightPlugin$apply$androidPluginHandler$1.invoke$lambda-0(SqlDelightPlugin.kt:54)	
at org.gradle.configuration.internal.DefaultUserCodeApplicationContext$CurrentApplication$1.execute(DefaultUserCodeApplicationContext.java:123)	
at org.gradle.configuration.internal.DefaultListenerBuildOperationDecorator$BuildOperationEmittingAction$1.run(DefaultListenerBuildOperationDecorator.java:171)
we haven’t had time to dive into this error yet, so unfortunately it seems like we won’t be able to verify your fix for now
j
Thanks for trying it out 🙂 it is unfortunate that we had to ship this snapshot with a beta version of compiler, which could cause issues like this.
e
do you know if you’ll be making a kotlin 1.7.10 based release with this fix?
j
not sure at this point, I will discuss this internally and come back to you tomorrow.
another thing is that if we are to make a 1.7.10 release, it will still happen around the same time 1,7.20 is released, so not sure if that fits your timeline.
e
ok, thank you for the information