diff --git a/AccessibilityCodelab/build.gradle b/AccessibilityCodelab/build.gradle index 54c4d71e..65aacf1a 100644 --- a/AccessibilityCodelab/build.gradle +++ b/AccessibilityCodelab/build.gradle @@ -22,13 +22,13 @@ buildscript { dependencies { classpath 'com.android.tools.build:gradle:8.7.2' - classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:2.0.21" + classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:2.1.0" } } plugins { id 'com.diffplug.spotless' version '6.25.0' - id 'org.jetbrains.kotlin.plugin.compose' version "2.0.21" apply false + id 'org.jetbrains.kotlin.plugin.compose' version "2.1.0" apply false } subprojects { diff --git a/AdaptiveUiCodelab/gradle/libs.versions.toml b/AdaptiveUiCodelab/gradle/libs.versions.toml index 16fdad3a..55d4432e 100644 --- a/AdaptiveUiCodelab/gradle/libs.versions.toml +++ b/AdaptiveUiCodelab/gradle/libs.versions.toml @@ -6,7 +6,7 @@ activityCompose = "1.9.3" espressoCore = "3.6.1" junit = "4.13.2" junitVersion = "1.2.1" -kotlin = "2.0.21" +kotlin = "2.1.0" kotlinxCoroutinesAndroid = "1.9.0" lifecycle = "2.8.7" material3Adaptive = "1.0.0" diff --git a/AdvancedStateAndSideEffectsCodelab/build.gradle b/AdvancedStateAndSideEffectsCodelab/build.gradle index 2a35b0d5..3a41f7ab 100644 --- a/AdvancedStateAndSideEffectsCodelab/build.gradle +++ b/AdvancedStateAndSideEffectsCodelab/build.gradle @@ -21,7 +21,7 @@ buildscript { } dependencies { classpath "com.android.tools.build:gradle:8.7.2" - classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:2.0.21" + classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:2.1.0" classpath "com.google.dagger:hilt-android-gradle-plugin:2.52" classpath "org.jetbrains.kotlin:compose-compiler-gradle-plugin:2.0.21" } diff --git a/BasicLayoutsCodelab/build.gradle b/BasicLayoutsCodelab/build.gradle index 2bffc966..21cede9a 100644 --- a/BasicLayoutsCodelab/build.gradle +++ b/BasicLayoutsCodelab/build.gradle @@ -20,7 +20,7 @@ buildscript { } dependencies { classpath "com.android.tools.build:gradle:8.7.2" - classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:2.0.21" + classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:2.1.0" classpath "org.jetbrains.kotlin:compose-compiler-gradle-plugin:2.0.21" } } diff --git a/MigrationCodelab/build.gradle b/MigrationCodelab/build.gradle index 02c4e350..6a2c8619 100644 --- a/MigrationCodelab/build.gradle +++ b/MigrationCodelab/build.gradle @@ -22,7 +22,7 @@ buildscript { dependencies { classpath "com.android.tools.build:gradle:8.7.2" - classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:2.0.21" + classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:2.1.0" classpath "androidx.navigation:navigation-safe-args-gradle-plugin:2.8.3" classpath "org.jetbrains.kotlin:compose-compiler-gradle-plugin:2.0.21" } diff --git a/NavigationCodelab/build.gradle b/NavigationCodelab/build.gradle index d0e90cfe..1eb56579 100644 --- a/NavigationCodelab/build.gradle +++ b/NavigationCodelab/build.gradle @@ -22,7 +22,7 @@ buildscript { dependencies { classpath "com.android.tools.build:gradle:8.7.2" - classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:2.0.21" + classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:2.1.0" classpath "org.jetbrains.kotlin:compose-compiler-gradle-plugin:2.0.21" } } diff --git a/PerformanceCodelab/gradle/libs.versions.toml b/PerformanceCodelab/gradle/libs.versions.toml index a6606e97..ab9f0226 100644 --- a/PerformanceCodelab/gradle/libs.versions.toml +++ b/PerformanceCodelab/gradle/libs.versions.toml @@ -6,7 +6,7 @@ kotlinx-datetime = "0.6.1" lifecycle-viewmodel-compose = "2.8.7" material-icons-core = "1.7.5" media3 = "1.4.1" -org-jetbrains-kotlin-android = "2.0.21" +org-jetbrains-kotlin-android = "2.1.0" core-ktx = "1.15.0" junit = "4.13.2" androidx-test-ext-junit = "1.2.1" diff --git a/TestingCodelab/build.gradle b/TestingCodelab/build.gradle index c7f2aacd..5eb64603 100644 --- a/TestingCodelab/build.gradle +++ b/TestingCodelab/build.gradle @@ -30,7 +30,7 @@ buildscript { espressoVersion = '3.6.1' fragmentVersion = '1.8.5' junitVersion = '4.13.1' - kotlinVersion = '2.0.21' + kotlinVersion = '2.1.0' ktlintVersion = '0.48.2' ktxVersion = '1.15.0' lifecycleVersion = '2.3.0' diff --git a/ThemingCodelab/build.gradle b/ThemingCodelab/build.gradle index cb1ee007..77561905 100644 --- a/ThemingCodelab/build.gradle +++ b/ThemingCodelab/build.gradle @@ -22,7 +22,7 @@ buildscript { dependencies { classpath 'com.android.tools.build:gradle:8.7.2' - classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:2.0.21" + classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:2.1.0" classpath "org.jetbrains.kotlin:compose-compiler-gradle-plugin:2.0.21" } }