What is the canonical way to configure component i...
# gradle
t
What is the canonical way to configure component in Kotlin Gradle DSL? So far I've come with following solution:
Copy code
(components["main"] as KotlinNativeMainComponent).apply {
    outputKinds.set(listOf(OutputKind.EXECUTABLE))
}
but maybe there is a better way?
g
👍 1