Thread
#multiplatform
    josephivie

    josephivie

    3 years ago
    Where should I place generated code in a multiplatform project? I'd like it to be in the build folder (vcs ignore usually covers by default, never have to make a special case), but I'm not quite sure how to add a directory to a source set. I could add a new source set, but that sounds like a bit of a pain due to generated code having the same dependencies as the project.
    h

    hmole

    3 years ago
    kotlin.sourceSets.commonMain.kotlin.srcDirs myGeneratedDir