Hi :wave:. Are there any known issues on `sqldelig...
# squarelibraries
j
Hi ­čĹő. Are there any known issues on
sqldelight
regarding Gradle caching? Seems that making kotlin compile depend on the generation task is causing wrong cached builds on my side.
Copy code
tasks.withType<KotlinCompile> {
  dependsOn("generateMainSubscriptionsDbInterface")
}
Having that in place then running
./gradlew clean build
a few times, files are generated fine the first time, then they are removed from second time on, and they don't get regenerated ever, neither by running the generation task manually. It only gets back to life after removing the
.gradle/
dir. If I run the task manually after that, it generates the stuff again. I've also observed that the idea plugin allows to generate automatically after editing
.sq
files, but that is not enough for someone cloning the repo the first time or for someone not touching those files ever. Thanks!