Join Slack
Powered by
Using the new mpp plugin, if I have an expected de...
# multiplatform
s
spierce7
10/08/2018, 4:14 PM
Using the new mpp plugin, if I have an expected declaration in the commonMain module, and have an ios and iosSim target, no matter what I try, the IDE tells me I have to have actual declarations in both source sets. Even if I do something like:
Copy code
configure(targets.iosSim) { compilations.main.source(sourceSets.iosMain) }
Is there any way around this?
o
orangy
10/08/2018, 5:30 PM
You can try this trick:
https://github.com/JetBrains/kotlin-mpp-example/blob/master/greeting/build.gradle#L39-L47
👍 1
s
spierce7
10/08/2018, 9:22 PM
That will work for now. Should I file this as a bug?
o
orangy
10/08/2018, 9:35 PM
No, thanks, we know it…
🙂 1
2
Views
Open in Slack
Previous
Next