I wanted to update the version of my kotlin plugin to 1.3.10. This is what looks like my build.gradle :
buildscript {
ext.kotlin_version = '1.3.10'
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
Then i want to define a variable for my kotlin-stdlib :
ext.kotlinDependency = "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
But it does not work for this last line, I have always done this way and it worked well for the 1.2.61 version. Should i just wait before updating the version for the last one ?
答案 0 :(得分:4)
正如Kotlin 1.3 compatibility guide所说,kotlin-stdlib-jre7
是一个已过时的工件名称,在Kotlin 1.3中已删除。 kotlin-stdlib-jdk7
是要使用的替换项。