GarouDan
05/13/2020, 3:19 AMKotlin 1.4-M2
when compiling the buildSrc
module classes?
I’m using the latest stable Gradle version (6.4) but it looks like it is not enough (Gradle is using 1.3.71).
I’m receiving the following error:
Class 'org.jetbrains.kotlin.konan.target.KonanTarget' is compiled by a pre-release version of Kotlin and cannot be loaded by this version of the compiler
GarouDan
05/13/2020, 4:05 AMtasks.withType<KotlinCompile> {
kotlinOptions {
freeCompilerArgs = listOf("-Xskip-metadata-version-check")
}
}
louiscad
05/13/2020, 9:25 AMbuild.gradle.kts
of buildSrc
or elsewhere?GarouDan
05/13/2020, 12:32 PMbuildSrc/build.gradle.kts
and in the build.gradle.kts
(the root one).GarouDan
05/13/2020, 12:34 PM1.4-M1
since 1.4-M2
is not in the EAP repository yet. But the same should work for M2 when it arrives there