https://kotlinlang.org logo
#eap
Title
# eap
r

robin

08/29/2018, 8:54 PM
Another question, to try out inline classes, the blog says I need to set the
-XXLanguage:+InlineClasses
option. How do I do that if I build via gradle? Is there an equivalent to kotlin.experimental.coroutines "enable"?
d

dsavvinov

08/29/2018, 9:52 PM
I think something like
Copy code
compileTestKotlin {
    kotlinOptions.freeCompilerArgs = ["-XXLanguage:+InlineClasses"]
}
should work 🙂
👍 2
g

gildor

08/30/2018, 9:21 AM
Would be good to have all those flags wrapped to proper Gradle DSL, easy to find, easy to use
3 Views