Hi, I have a multi-module multi-platform project and am trying to get the gradle configuration to work. Right now I'm just trying to convert 1 sub-module over to a multi-platform module. Specifically I am using 1.3 DSL with source sets. I have moved my existing code out of src/main/kotlin and into src/jvmMain and attempted to configure a jvmMain source set to compile those files. I have tried adding the source set configuration to both the root project and the module with no success. No errors, just the files don't get compiled. Its like nothing is looking at the src/jvmMain directory and is still looking at src/main/kotlin.
John Lutteringer
03/22/2019, 11:00 PM
For the curious, my multi-platform config in the main build.gradle looks like
I have also tried a similar configuration in the sub-module's build.gradle except without the
jvm() ...
piece
g
galex
03/23/2019, 5:49 AM
Do you have a commonMain folder as well?
j
John Lutteringer
03/23/2019, 4:41 PM
I do, but right now I don't have any source code in there. My thinking was I could take existing code which only targets the jvm and convert it to the multi platform format.