Hey guys, there's a way to not use source set multiplatform style, instead use gradle module style?
I'm creating a project that target JVM backend, and JS e JVM clients of the REST from backend , and I want to have a common code between the clients, but not with the backend, but, the backend and the clients has some shared code. The problem is that the kotlin common doesn't have a gradle plugin, someone can help?
In the commonMain of the client and backend
implementation(project(":shared"))
But I don't know what Gradle plugin I use in the shared module because exist js and jvm plugins but doesn't exist Common
b
Big Chungus
09/13/2019, 5:48 AM
You can setup your modules as normal and just use multiplatform plugin on all of them with only one target per module
☝🏼 1
🎉 1
Big Chungus
09/13/2019, 5:48 AM
There's some gradle property that disables the auto creation of common source set
s
SrSouza
09/13/2019, 4:39 PM
Tkx so much, work
b
Big Chungus
09/13/2019, 4:48 PM
Not a problem. Feel free to ping me if you have any further issues