Hello! I have multi module gradle project with kotlin multiplatform as a module. In one gradle module i created custom common sourceset and in other module i want to depend on them in common code. How can I do this?
j
Javier
03/18/2021, 12:24 AM
Just
implementation(project(":some-module"))
p
PHondogo
03/18/2021, 5:12 AM
I created new sourceset. You suggestion is for depend on common sourceset.
PHondogo
03/18/2021, 5:29 AM
In other words i want to have several common targets in one gradle module. I know that it is now impossible and as workaround want to use SourceSets.dependsOn(sourceSets from other gradle module).