https://kotlinlang.org logo
r

Robert Jaros

10/16/2019, 1:24 PM
how to add new source directory to
commonMain
sourceSet in multiplatform gradle project?
k

Kris Wong

10/16/2019, 1:27 PM
right click on it and select New Directory?
r

Robert Jaros

10/16/2019, 1:28 PM
I mean outside "commonMain/kotlin"
k

Kris Wong

10/16/2019, 1:29 PM
add a source set dependency for commonMain
r

Robert Jaros

10/16/2019, 1:30 PM
how to do this with kotlin dsl?
r

Robert Jaros

10/16/2019, 1:33 PM
thx
should check the docs first and not google 😉
k

Kris Wong

10/16/2019, 1:38 PM
that page will answer most of your MPP questions
b

Big Chungus

10/16/2019, 4:33 PM
You can also add a source root to the same source set
As in src/commonMain/kotlin2
45 Views