Looks like `org.jetbrains.kotlin.konan` does not r...
# kotlin-native
d
Looks like
org.jetbrains.kotlin.konan
does not recognize the new gradle dsl. Is it only
org.jetbrains.kotlin.platform.native
at this point that does?
n
Are you referring to Gradle Kotlin DSL ( https://blog.gradle.org/gradle-kotlin-dsl-release-candidate )?
The top of that same page references
org.jetbrains.kotlin.konan
j
are you using Kotlin native 0.9?
d
yep
Copy code
plugins {
     id "org.jetbrains.kotlin.platform.native" version "0.9"
}

components.main {
.....
}
builds just fine
Copy code
plugins {
     id "org.jetbrains.kotlin.konan" version "0.9"
}

components.main {
.....
}
throws an error
Could not find method main() for arguments.....
m
components["main"]
d
That gives a different error
SoftwareComponentInternal with name 'main' not found.