Build: upgrade language to 1.3 in cli, compiler plugins and Gradle plugin
The language/API version restriction here is to make sure the code works with Gradle of earlier versions, but all versions of Gradle that we support already depend on Kotlin 1.3+.
This commit is contained in:
committed by
Alexander Udalov
parent
5755c32c84
commit
f273edeb8e
@@ -24,9 +24,9 @@ dependencies {
|
||||
}
|
||||
|
||||
tasks.withType(project.compileKotlin.class) {
|
||||
kotlinOptions.languageVersion = "1.2"
|
||||
kotlinOptions.apiVersion = "1.2"
|
||||
kotlinOptions.freeCompilerArgs += ["-Xskip-metadata-version-check"]
|
||||
kotlinOptions.languageVersion = "1.3"
|
||||
kotlinOptions.apiVersion = "1.3"
|
||||
kotlinOptions.freeCompilerArgs += ["-Xskip-prerelease-check"]
|
||||
}
|
||||
|
||||
jar {
|
||||
@@ -52,4 +52,4 @@ pluginBundle {
|
||||
|
||||
configurePluginMarkers(project)
|
||||
|
||||
test.executable = "${JDK_18}/bin/java"
|
||||
test.executable = "${JDK_18}/bin/java"
|
||||
|
||||
Reference in New Issue
Block a user