Hello, how do I structure a KMP project to also pu...
# multiplatform
r
Hello, how do I structure a KMP project to also publish a gradle plugin? It seems the gradle plugin setup wants source to be in src/main/kotlin, correct? In which case, how do I make that work alongside jvmMain and jsMain?
j
You should put the Gradle project in a different module to avoid propagating all common dependencies
👌 1
r
Ah right. Not used to thinking in modules w/ gradle. Thanks
e
honestly I think it should be in a different build (possibly included), because Gradle's embedded-kotlin version is unlikely to be what you want code that doesn't need to be loaded as a Gradle plugin