we see this pretty consistently in our project, an...
# ksp
z
we see this pretty consistently in our project, anything I can do to help diagnose/rootcause it?
Copy code
kotlin scripting plugin: applied in the non-supported environment (error received: Cannot query the value of task ':libraries:foundation:feature-flag:compiler:kspKotlin' property 'sourceSetName$kotlin_gradle_plugin' because it has no value available.)
kotlin scripting plugin: applied in the non-supported environment (error received: Cannot query the value of task ':libraries:foundation:carbonite:carbonite-compiler:kspKotlin' property 'sourceSetName$kotlin_gradle_plugin' because it has no value available.)
the projects themselves are simple. They apply both ksp and kapt, both run auto-service-ksp (via KSP) and incap-processor (via kapt)
t
I saw this before but cannot reproduce it for now. The warning is reported by kotlin scripting plugin when it tries to discover some property of the ksp created task. I guess the repro has something to do with the order of how ksp and kotlin gradle plugin is applied.
z
could it be related to using kotlin-dsl?
that's another commonality in our project