Bump kotlin to 1.7.20 based on Android 13 QPR2 release
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
parent
90c8a3fb12
commit
591e9dbc68
3 changed files with 6 additions and 5 deletions
|
@ -43,7 +43,7 @@ android {
|
|||
}
|
||||
kotlinOptions {
|
||||
jvmTarget = JavaVersion.VERSION_11.toString()
|
||||
languageVersion = "1.6"
|
||||
languageVersion = "1.7"
|
||||
}
|
||||
testOptions {
|
||||
unitTests.all {
|
||||
|
|
|
@ -2,10 +2,11 @@ buildscript {
|
|||
// 1.3.61 Android 11
|
||||
// 1.4.30 Android 12
|
||||
// 1.6.10 Android 13
|
||||
// 1.7.20 Android 13 (QPR2)
|
||||
// Check:
|
||||
// https://android.googlesource.com/platform/external/kotlinc/+/refs/tags/android-13.0.0_r3/build.txt
|
||||
ext.aosp_kotlin_version = '1.6.10' // 1.6.10-release-923 in AOSP
|
||||
ext.kotlin_version = '1.6.10'
|
||||
// https://android.googlesource.com/platform/external/kotlinc/+/refs/tags/android-13.0.0_r32/build.txt
|
||||
ext.aosp_kotlin_version = '1.7.20' // 1.7.20-release-201 in AOSP
|
||||
ext.kotlin_version = '1.7.20'
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
|
|
|
@ -38,7 +38,7 @@ android {
|
|||
}
|
||||
kotlinOptions {
|
||||
jvmTarget = JavaVersion.VERSION_11.toString()
|
||||
languageVersion = "1.6"
|
||||
languageVersion = "1.7"
|
||||
freeCompilerArgs += '-Xopt-in=kotlin.RequiresOptIn'
|
||||
freeCompilerArgs += '-Xexplicit-api=strict'
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue