GarouDan
06/13/2020, 12:24 PMThere are 132 libraries libraries from the Kotlin/Native 1.3.61 distribution attached to the project: stdlib, AVFoundation, AVKit, Accelerate, Accounts, ... These libraries were compiled with an older Kotlin/Native compiler and can't be read in IDE. Please edit Gradle buildfile(s) to use Kotlin Gradle plugin version 1.4-M2. Then re-import the project in IDE.
I’m already using Kotlin 1.4-M2
but it looks like Kotlin/Native still keeps downloading this version. How can I force it to use 1.4-M2
?
I’m using Gradle with KTSGarouDan
06/13/2020, 12:26 PMbuildscript {
dependencies {
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.4-M2")
but it doesn’t work.Artyom Degtyarev [JB]
06/15/2020, 6:34 AMrepositories
and pluginManagement
. Please give it a try and ping me on results, can you?GarouDan
06/15/2020, 11:03 AMGarouDan
06/15/2020, 11:05 AMGarouDan
06/15/2020, 11:32 AMapply(plugin = "kotlin-multiplatform")
instead of this before the buildscript block:
plugins {
kotlin("multiplatform")
}
but it gives me the same errorGarouDan
06/15/2020, 12:03 PM