From 076bc451f2bf29f05255332dc9063aee85f5bae5 Mon Sep 17 00:00:00 2001 From: bachinger Date: Fri, 19 Jul 2024 09:30:07 -0700 Subject: [PATCH] Update Kotlin Gradle plugin to version 1.9.10. According to b/292763081 the build failure `unresolved reference: addLast` in the session-demo is caused by a bug in the Kotlin compiler 1.9.0 to which we depend. Bumping the Kotlin plugin version to 1.9.10 which is the next above 1.9.0 as listed in [1], the build problem is resolved. Further, the Kotlin extension compiler version is set to 1.5.3 to make compose work with Kotlin 1.9.10 (see [2] for the Kotlin/Compose compatibility map). [1] https://kotlinlang.org/docs/releases.html#release-details [2] https://developer.android.com/jetpack/androidx/releases/compose-kotlin PiperOrigin-RevId: 654030537 --- build.gradle | 2 +- demos/compose/build.gradle | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index c3243831df..71669d042e 100644 --- a/build.gradle +++ b/build.gradle @@ -19,7 +19,7 @@ buildscript { dependencies { classpath 'com.android.tools.build:gradle:8.3.2' classpath 'com.google.android.gms:strict-version-matcher-plugin:1.2.4' - classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.0' + classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.10' } } allprojects { diff --git a/demos/compose/build.gradle b/demos/compose/build.gradle index 9726565c87..59a7cb7393 100644 --- a/demos/compose/build.gradle +++ b/demos/compose/build.gradle @@ -56,7 +56,7 @@ android { compose true } composeOptions { - kotlinCompilerExtensionVersion = "1.5.0" + kotlinCompilerExtensionVersion = "1.5.3" } }