Join Slack
Powered by
How can I set free compiler args on a Kotlin multi...
# multiplatform
s
spierce7
10/02/2019, 8:31 PM
How can I set free compiler args on a Kotlin multiplatform module?
l
louiscad
10/02/2019, 9:17 PM
Is it to add experimental annotations whitelist?
s
spierce7
10/02/2019, 9:20 PM
yes
l
louiscad
10/03/2019, 6:51 AM
There's first class support, see the docs here:
https://kotlinlang.org/docs/reference/building-mpp-with-gradle.html#language-settings
s
spierce7
10/03/2019, 1:52 PM
That setting is it there that allows me to turn on certain experimental features? progressive mode?
l
louiscad
10/03/2019, 2:44 PM
Search for "experimentalAnnotation" in that page (cmd/ctrl + F). Just enable it on the sourceSets, and voilà.
s
spierce7
10/04/2019, 4:12 PM
oh got it. I see it now. Thanks 🙂
26
Views
Open in Slack
Previous
Next