From 591e9dbc689f3f61f1959a5546dadb5b25ea2809 Mon Sep 17 00:00:00 2001 From: Aayush Gupta Date: Mon, 27 Mar 2023 13:12:56 +0530 Subject: [PATCH] Bump kotlin to 1.7.20 based on Android 13 QPR2 release Signed-off-by: Aayush Gupta --- app/build.gradle | 2 +- build.gradle | 7 ++++--- storage/lib/build.gradle | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 675b1dd0..dbcd1ed1 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -43,7 +43,7 @@ android { } kotlinOptions { jvmTarget = JavaVersion.VERSION_11.toString() - languageVersion = "1.6" + languageVersion = "1.7" } testOptions { unitTests.all { diff --git a/build.gradle b/build.gradle index 6c90483f..0bfb4e7a 100644 --- a/build.gradle +++ b/build.gradle @@ -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() diff --git a/storage/lib/build.gradle b/storage/lib/build.gradle index 33adddc7..3b69f1ea 100644 --- a/storage/lib/build.gradle +++ b/storage/lib/build.gradle @@ -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' }