Hi, if i create a kmm shared library as a separate...
# multiplatform
r
Hi, if i create a kmm shared library as a separate project, then I won’t have a root build.gradle.kts file with a
buildscript
block. I need one to get the sqldelight plugin to work. What is the workaround?
g
why not using sqldelight in the kmm project directly ?
r
I am
g
Then what's your problem? In the "separate project" you'll have the build.gradle that is configuring your sqldelight.
You can probably add a buildscript block on top of your build.gradle.kts of the KMM project.
🙌 1
r
if i create a shared kmm library project I get one build.gradle.kts file
I add the plugin for sqldelight -
id("com.squareup.sqldelight")
and then i need to add the classpath dependencies which normally is in the root project which I don’t have