Join Slack
Powered by
can I have multiple targets in the new MPP plugin ...
# multiplatform
j
jw
09/18/2018, 3:13 PM
can I have multiple targets in the new MPP plugin share a source folder for their actuals? most specifically, a bunch of native variants
n
Nikky
09/18/2018, 3:16 PM
does gradle prevent multiple modules from pointing a kotlin main sourceset at the same folder ?
Nikky
09/18/2018, 3:17 PM
without having tried that in kotlin-native that would be my approach
j
jw
09/18/2018, 3:20 PM
i'm using the new multiplatform plugin where targets and source sets are already separated
jw
09/18/2018, 3:23 PM
I think I found what I want via
https://github.com/JetBrains/kotlin/blob/b31de355db7d82b3c326d38d2ecd78699dd48d61/libraries/tools/kotlin-gradle-plugin-integration-tests/src/test/resources/testProject/new-mpp-native-libraries/build.gradle#L23-L31
l
Liliia
09/18/2018, 3:26 PM
Yes, you can:
https://github.com/h0tk3y/k-new-mpp-samples/tree/master/split-actuals
j
jw
09/18/2018, 3:28 PM
Ah, that's interesting as well. Thanks!
2
Views
Open in Slack
Previous
Next