In my build.gradle file, I have this a my first li...
# intellij
s
In my build.gradle file, I have this a my first line: import org.jetbrains.kotlin.gradle.plugin.mpp.KotlinNativeTarget but is says "Cannot resolve symbol 'KotlinNativeTarget'". Do I have to import an extra plugin (other than the Kotlin plugin)? Is there something I'm missing? Edit: Is it because it's the kotlin syntax (build.gradle.kts) instead of Groovy (build.gradle)?
m
You might need the multiplatform plugin in your classpath
id("org.jetbrains.kotlin.multiplatform")
Actually, you seem to be missing
org.jetbrains.kotlin-platform-native
instead
s
Thanks Martin, I'll take a look at that if I do need the import. After further review, it looks like I might not need this import statement after all.
👍 1