I'm trying to set up a multi platform project, with two modules,
shared
and
desktop
.
'Shared' is the typical
multiplatform
gradle project, declaring
commonMain
and
jvmMain
sourcesets.
'Desktop' depends on 'shared', via:
Copy code
implementation(project(":shared"))
However, the 'shared' source files don't seem to be available to the 'desktop' module. Do I need to do something special to 'publish' shared, or otherwise make it accessible to other modules?
w
william
09/13/2020, 3:44 PM
im having a similar problem, did you figure out anything for this?
t
Tim Malseed
09/13/2020, 11:35 PM
Not so far
g
Gurupad Mamadapur [FH]
09/18/2020, 9:52 AM
Nope just
implementation project(":shared")
in the dependencies of the module where you want it should do. Can you share both the gradle files?