Skip to content

Commit 6603c7b

Browse files
authored
Merge pull request #427 from android/renovate/end-kotlin-dependencies
Update Kotlin Dependencies (end)
2 parents aa2f317 + e6c7036 commit 6603c7b

File tree

26 files changed

+44
-53
lines changed

26 files changed

+44
-53
lines changed

AccessibilityCodelab/app/build.gradle

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
plugins {
1818
id 'com.android.application'
1919
id 'kotlin-android'
20+
id 'org.jetbrains.kotlin.plugin.compose'
2021
}
2122

2223
android {
@@ -62,10 +63,6 @@ android {
6263
compose true
6364
}
6465

65-
composeOptions {
66-
kotlinCompilerExtensionVersion '1.5.13'
67-
}
68-
6966
packagingOptions {
7067
excludes += "/META-INF/AL2.0"
7168
excludes += "/META-INF/LGPL2.1"
@@ -99,7 +96,7 @@ dependencies {
9996

10097
implementation "com.google.android.material:material:1.11.0"
10198

102-
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.8.0"
99+
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.8.1"
103100

104101
implementation 'androidx.appcompat:appcompat:1.6.1'
105102
implementation 'androidx.activity:activity-ktx:1.9.0'

AccessibilityCodelab/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,13 @@ buildscript {
2222

2323
dependencies {
2424
classpath 'com.android.tools.build:gradle:8.4.0'
25-
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.23"
25+
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:2.0.0"
2626
}
2727
}
2828

2929
plugins {
3030
id 'com.diffplug.spotless' version '6.25.0'
31+
id 'org.jetbrains.kotlin.plugin.compose' version "2.0.0" apply false
3132
}
3233

3334
subprojects {

AccessibilityCodelab/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

AdaptiveUiCodelab/app/build.gradle

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
plugins {
1818
id 'com.android.application'
1919
id 'org.jetbrains.kotlin.android'
20+
id 'org.jetbrains.kotlin.plugin.compose'
2021
}
2122

2223
android {
@@ -52,9 +53,6 @@ android {
5253
buildFeatures {
5354
compose true
5455
}
55-
composeOptions {
56-
kotlinCompilerExtensionVersion '1.5.13'
57-
}
5856
packagingOptions {
5957
resources {
6058
excludes += '/META-INF/{AL2.0,LGPL2.1}'
@@ -81,7 +79,7 @@ dependencies {
8179
implementation 'androidx.activity:activity-compose:1.9.0'
8280
implementation 'androidx.core:core-ktx:1.13.1'
8381
implementation "androidx.window:window:1.2.0"
84-
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.8.0"
82+
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.8.1"
8583
implementation "androidx.compose.material3:material3-window-size-class:1.2.1"
8684

8785
testImplementation 'junit:junit:4.13.2'

AdaptiveUiCodelab/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ buildscript {
2121
}
2222
dependencies {
2323
classpath "com.android.tools.build:gradle:8.4.0"
24-
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.23"
24+
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:2.0.0"
25+
classpath "org.jetbrains.kotlin:compose-compiler-gradle-plugin:2.0.0"
2526
}
2627
}
2728

AdaptiveUiCodelab/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

AdvancedStateAndSideEffectsCodelab/app/build.gradle

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ plugins {
1919
id 'kotlin-android'
2020
id 'kotlin-kapt'
2121
id 'dagger.hilt.android.plugin'
22+
id 'org.jetbrains.kotlin.plugin.compose'
2223
}
2324

2425
// Reads the Google maps key that is used in the AndroidManifest
@@ -83,10 +84,6 @@ android {
8384
shaders false
8485
}
8586

86-
composeOptions {
87-
kotlinCompilerExtensionVersion '1.5.13'
88-
}
89-
9087
packagingOptions {
9188
// Multiple dependency bring these files in. Exclude them to enable
9289
// our test APK to build (has no effect on our AARs)
@@ -96,7 +93,7 @@ android {
9693
}
9794

9895
dependencies {
99-
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.8.0"
96+
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.8.1"
10097
implementation "com.google.android.libraries.maps:maps:3.1.0-beta"
10198
implementation "com.google.maps.android:maps-v3-ktx:3.4.0"
10299
constraints {
@@ -138,7 +135,7 @@ dependencies {
138135
androidTestImplementation "androidx.test:rules:1.5.0"
139136
androidTestImplementation "androidx.test.espresso:espresso-core:3.5.1"
140137
androidTestImplementation "androidx.test.ext:junit-ktx:1.1.5"
141-
androidTestImplementation "org.jetbrains.kotlinx:kotlinx-coroutines-test:1.8.0"
138+
androidTestImplementation "org.jetbrains.kotlinx:kotlinx-coroutines-test:1.8.1"
142139
androidTestImplementation "com.google.dagger:hilt-android:2.51.1"
143140
androidTestImplementation "com.google.dagger:hilt-android-testing:2.51.1"
144141
kaptAndroidTest "com.google.dagger:hilt-compiler:2.51.1"

AdvancedStateAndSideEffectsCodelab/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@ buildscript {
2121
}
2222
dependencies {
2323
classpath "com.android.tools.build:gradle:8.4.0"
24-
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.23"
24+
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:2.0.0"
2525
classpath "com.google.dagger:hilt-android-gradle-plugin:2.51.1"
26+
classpath "org.jetbrains.kotlin:compose-compiler-gradle-plugin:2.0.0"
2627
}
2728
}
2829

AdvancedStateAndSideEffectsCodelab/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

BasicLayoutsCodelab/app/build.gradle

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
plugins {
1818
id 'com.android.application'
1919
id 'org.jetbrains.kotlin.android'
20+
id 'org.jetbrains.kotlin.plugin.compose'
2021
}
2122

2223
android {
@@ -52,9 +53,6 @@ android {
5253
buildFeatures {
5354
compose true
5455
}
55-
composeOptions {
56-
kotlinCompilerExtensionVersion '1.5.13'
57-
}
5856
packagingOptions {
5957
resources {
6058
excludes += '/META-INF/{AL2.0,LGPL2.1}'

0 commit comments

Comments
 (0)