https://kotlinlang.org logo
j

josephivie

11/23/2018, 3:58 PM
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

11/24/2018, 11:15 AM
kotlin.sourceSets.commonMain.kotlin.srcDirs myGeneratedDir
2 Views