Build: update kotlinLanguageVersion to 1.6

Update binary-compatibility-validator dependency to 0.7.1 to allow it to
read Kotlin metadata of version 1.6.

 #KT-48445
This commit is contained in:
Alexander Udalov
2021-08-02 15:22:52 +02:00
parent 019001ca20
commit 6c400ce864
6 changed files with 16 additions and 12 deletions
+10
View File
@@ -19,3 +19,13 @@ sourceSets {
"main" { projectDefault() }
"test" { none() }
}
tasks {
val compileKotlin by existing(org.jetbrains.kotlin.gradle.tasks.KotlinCompile::class) {
kotlinOptions {
// Workaround for KT-48445.
languageVersion = "1.5"
apiVersion = "1.5"
}
}
}