Skip to content

Commit e42bc74

Browse files
Update all dependencies
1 parent eebd096 commit e42bc74

File tree

51 files changed

+87
-100
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+87
-100
lines changed

AccessibilityCodelab/app/build.gradle

+3-3
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ android {
8787
}
8888

8989
dependencies {
90-
def composeBom = platform('androidx.compose:compose-bom:2024.12.01')
90+
def composeBom = platform('androidx.compose:compose-bom:2025.01.00')
9191
implementation(composeBom)
9292
testImplementation(composeBom)
9393
androidTestImplementation(composeBom)
@@ -114,9 +114,9 @@ dependencies {
114114
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.10.0"
115115

116116
implementation 'androidx.appcompat:appcompat:1.7.0'
117-
implementation 'androidx.activity:activity-ktx:1.9.3'
117+
implementation 'androidx.activity:activity-ktx:1.10.0'
118118
implementation 'androidx.core:core-ktx:1.15.0'
119-
implementation "androidx.activity:activity-compose:1.9.3"
119+
implementation "androidx.activity:activity-compose:1.10.0"
120120

121121
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.8.7"
122122
implementation "androidx.lifecycle:lifecycle-viewmodel-savedstate:2.8.7"

AccessibilityCodelab/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ buildscript {
2121
}
2222

2323
dependencies {
24-
classpath 'com.android.tools.build:gradle:8.7.3'
24+
classpath 'com.android.tools.build:gradle:8.8.0'
2525
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:2.1.0"
2626
}
2727
}
2828

2929
plugins {
30-
id 'com.diffplug.spotless' version '6.25.0'
30+
id 'com.diffplug.spotless' version '7.0.2'
3131
id 'org.jetbrains.kotlin.plugin.compose' version "2.1.0" apply false
3232
}
3333

AccessibilityCodelab/gradle/wrapper/gradle-wrapper.properties

+1-1
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.11.1-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

AccessibilityCodelab/gradlew

+1-2
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,7 @@ done
8686
# shellcheck disable=SC2034
8787
APP_BASE_NAME=${0##*/}
8888
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
89-
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s
90-
' "$PWD" ) || exit
89+
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit
9190

9291
# Use the maximum available, or set MAX_FD != -1 to use that value.
9392
MAX_FD=maximum

AdaptiveUiCodelab/gradle/libs.versions.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[versions]
2-
androidGradlePlugin = "8.7.3"
3-
composeBom = "2024.12.01"
2+
androidGradlePlugin = "8.8.0"
3+
composeBom = "2025.01.00"
44
coreKtx = "1.15.0"
5-
activityCompose = "1.9.3"
5+
activityCompose = "1.10.0"
66
espressoCore = "3.6.1"
77
junit = "4.13.2"
88
junitVersion = "1.2.1"

AdaptiveUiCodelab/gradle/wrapper/gradle-wrapper.properties

+1-1
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.11.1-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

AdaptiveUiCodelab/gradlew

+1-2
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,7 @@ done
8686
# shellcheck disable=SC2034
8787
APP_BASE_NAME=${0##*/}
8888
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
89-
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s
90-
' "$PWD" ) || exit
89+
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit
9190

9291
# Use the maximum available, or set MAX_FD != -1 to use that value.
9392
MAX_FD=maximum

AdvancedStateAndSideEffectsCodelab/app/build.gradle

+7-7
Original file line numberDiff line numberDiff line change
@@ -103,11 +103,11 @@ dependencies {
103103
}
104104
}
105105

106-
implementation "androidx.activity:activity-compose:1.9.3"
106+
implementation "androidx.activity:activity-compose:1.10.0"
107107
implementation "androidx.appcompat:appcompat:1.7.0"
108108
implementation "androidx.tracing:tracing:1.2.0"
109109

110-
def composeBom = platform('androidx.compose:compose-bom:2024.12.01')
110+
def composeBom = platform('androidx.compose:compose-bom:2025.01.00')
111111
implementation(composeBom)
112112
androidTestImplementation(composeBom)
113113
implementation "androidx.compose.runtime:runtime"
@@ -123,8 +123,8 @@ dependencies {
123123
def lifecycle_version = "2.8.7"
124124
implementation "androidx.lifecycle:lifecycle-viewmodel-compose:$lifecycle_version"
125125
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycle_version"
126-
implementation "com.google.dagger:hilt-android:2.53.1"
127-
kapt "com.google.dagger:hilt-compiler:2.53.1"
126+
implementation "com.google.dagger:hilt-android:2.55"
127+
kapt "com.google.dagger:hilt-compiler:2.55"
128128

129129
implementation "io.coil-kt:coil-compose:2.7.0"
130130

@@ -135,7 +135,7 @@ dependencies {
135135
androidTestImplementation "androidx.test.espresso:espresso-core:3.6.1"
136136
androidTestImplementation "androidx.test.ext:junit-ktx:1.2.1"
137137
androidTestImplementation "org.jetbrains.kotlinx:kotlinx-coroutines-test:1.10.0"
138-
androidTestImplementation "com.google.dagger:hilt-android:2.53.1"
139-
androidTestImplementation "com.google.dagger:hilt-android-testing:2.53.1"
140-
kaptAndroidTest "com.google.dagger:hilt-compiler:2.53.1"
138+
androidTestImplementation "com.google.dagger:hilt-android:2.55"
139+
androidTestImplementation "com.google.dagger:hilt-android-testing:2.55"
140+
kaptAndroidTest "com.google.dagger:hilt-compiler:2.55"
141141
}

AdvancedStateAndSideEffectsCodelab/build.gradle

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ buildscript {
2020
mavenCentral()
2121
}
2222
dependencies {
23-
classpath "com.android.tools.build:gradle:8.7.3"
23+
classpath "com.android.tools.build:gradle:8.8.0"
2424
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:2.1.0"
25-
classpath "com.google.dagger:hilt-android-gradle-plugin:2.53.1"
25+
classpath "com.google.dagger:hilt-android-gradle-plugin:2.55"
2626
classpath "org.jetbrains.kotlin:compose-compiler-gradle-plugin:2.1.0"
2727
}
2828
}
2929

3030
plugins {
31-
id 'com.diffplug.spotless' version '6.25.0'
31+
id 'com.diffplug.spotless' version '7.0.2'
3232
}
3333

3434
subprojects {

AdvancedStateAndSideEffectsCodelab/gradle/wrapper/gradle-wrapper.properties

+1-1
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.11.1-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

AdvancedStateAndSideEffectsCodelab/gradlew

+1-2
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,7 @@ done
8686
# shellcheck disable=SC2034
8787
APP_BASE_NAME=${0##*/}
8888
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
89-
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s
90-
' "$PWD" ) || exit
89+
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit
9190

9291
# Use the maximum available, or set MAX_FD != -1 to use that value.
9392
MAX_FD=maximum

AnimationCodelab/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ buildscript {
2020
mavenCentral()
2121
}
2222
dependencies {
23-
classpath 'com.android.tools.build:gradle:8.7.3'
23+
classpath 'com.android.tools.build:gradle:8.8.0'
2424
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:2.1.0"
2525
classpath "org.jetbrains.kotlin:compose-compiler-gradle-plugin:2.1.0"
2626
}

AnimationCodelab/finished/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ android {
4343
}
4444

4545
dependencies {
46-
def composeBom = platform('androidx.compose:compose-bom:2024.12.01')
46+
def composeBom = platform('androidx.compose:compose-bom:2025.01.00')
4747
implementation(composeBom)
4848

49-
implementation 'androidx.activity:activity-compose:1.9.3'
49+
implementation 'androidx.activity:activity-compose:1.10.0'
5050
implementation 'androidx.core:core-ktx:1.15.0'
5151
implementation "androidx.compose.ui:ui"
5252
implementation "androidx.compose.material3:material3"

AnimationCodelab/gradle/wrapper/gradle-wrapper.properties

+1-1
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.11.1-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

AnimationCodelab/gradlew

+1-2
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,7 @@ done
8686
# shellcheck disable=SC2034
8787
APP_BASE_NAME=${0##*/}
8888
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
89-
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s
90-
' "$PWD" ) || exit
89+
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit
9190

9291
# Use the maximum available, or set MAX_FD != -1 to use that value.
9392
MAX_FD=maximum

AnimationCodelab/start/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ android {
4343
}
4444

4545
dependencies {
46-
def composeBom = platform('androidx.compose:compose-bom:2024.12.01')
46+
def composeBom = platform('androidx.compose:compose-bom:2025.01.00')
4747
implementation(composeBom)
4848

49-
implementation 'androidx.activity:activity-compose:1.9.3'
49+
implementation 'androidx.activity:activity-compose:1.10.0'
5050
implementation 'androidx.core:core-ktx:1.15.0'
5151
implementation "androidx.compose.ui:ui"
5252
implementation "androidx.compose.material3:material3"

BasicLayoutsCodelab/app/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ android {
6161
}
6262

6363
dependencies {
64-
def composeBom = platform('androidx.compose:compose-bom:2024.12.01')
64+
def composeBom = platform('androidx.compose:compose-bom:2025.01.00')
6565
implementation(composeBom)
6666
androidTestImplementation(composeBom)
6767

@@ -73,7 +73,7 @@ dependencies {
7373
implementation "androidx.compose.ui:ui-tooling-preview"
7474
implementation "com.google.android.material:material:1.12.0"
7575
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.8.7'
76-
implementation 'androidx.activity:activity-compose:1.9.3'
76+
implementation 'androidx.activity:activity-compose:1.10.0'
7777
testImplementation 'junit:junit:4.13.2'
7878
androidTestImplementation 'androidx.test.ext:junit:1.2.1'
7979
androidTestImplementation 'androidx.test.espresso:espresso-core:3.6.1'

BasicLayoutsCodelab/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ buildscript {
2020
mavenCentral()
2121
}
2222
dependencies {
23-
classpath "com.android.tools.build:gradle:8.7.3"
23+
classpath "com.android.tools.build:gradle:8.8.0"
2424
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:2.1.0"
2525
classpath "org.jetbrains.kotlin:compose-compiler-gradle-plugin:2.1.0"
2626
}
2727
}
2828

2929
plugins {
30-
id 'com.diffplug.spotless' version '6.25.0'
30+
id 'com.diffplug.spotless' version '7.0.2'
3131
}
3232

3333
subprojects {

BasicLayoutsCodelab/gradle/wrapper/gradle-wrapper.properties

+1-1
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.11.1-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

BasicLayoutsCodelab/gradlew

+1-2
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,7 @@ done
8686
# shellcheck disable=SC2034
8787
APP_BASE_NAME=${0##*/}
8888
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
89-
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s
90-
' "$PWD" ) || exit
89+
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit
9190

9291
# Use the maximum available, or set MAX_FD != -1 to use that value.
9392
MAX_FD=maximum

BasicStateCodelab/app/build.gradle.kts

+3-3
Original file line numberDiff line numberDiff line change
@@ -67,16 +67,16 @@ dependencies {
6767
implementation("androidx.core:core-ktx:1.15.0")
6868
implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.8.7")
6969
implementation("androidx.lifecycle:lifecycle-viewmodel-compose:2.8.7")
70-
implementation("androidx.activity:activity-compose:1.9.3")
71-
implementation(platform("androidx.compose:compose-bom:2024.12.01"))
70+
implementation("androidx.activity:activity-compose:1.10.0")
71+
implementation(platform("androidx.compose:compose-bom:2025.01.00"))
7272
implementation("androidx.compose.ui:ui")
7373
implementation("androidx.compose.ui:ui-graphics")
7474
implementation("androidx.compose.ui:ui-tooling-preview")
7575
implementation("androidx.compose.material3:material3")
7676
testImplementation("junit:junit:4.13.2")
7777
androidTestImplementation("androidx.test.ext:junit:1.2.1")
7878
androidTestImplementation("androidx.test.espresso:espresso-core:3.6.1")
79-
androidTestImplementation(platform("androidx.compose:compose-bom:2024.12.01"))
79+
androidTestImplementation(platform("androidx.compose:compose-bom:2025.01.00"))
8080
androidTestImplementation("androidx.compose.ui:ui-test-junit4")
8181
debugImplementation("androidx.compose.ui:ui-tooling")
8282
debugImplementation("androidx.compose.ui:ui-test-manifest")

BasicStateCodelab/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ buildscript {
2020
}
2121

2222
dependencies {
23-
classpath 'com.android.tools.build:gradle:8.7.3'
23+
classpath 'com.android.tools.build:gradle:8.8.0'
2424
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:2.1.0"
2525
classpath "org.jetbrains.kotlin:compose-compiler-gradle-plugin:2.1.0"
2626
}
2727
}
2828

2929
plugins {
30-
id 'com.diffplug.spotless' version '6.25.0'
30+
id 'com.diffplug.spotless' version '7.0.2'
3131
}
3232

3333
subprojects {

BasicStateCodelab/gradle/wrapper/gradle-wrapper.properties

+1-1
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.11.1-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

BasicStateCodelab/gradlew

+1-2
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,7 @@ done
8686
# shellcheck disable=SC2034
8787
APP_BASE_NAME=${0##*/}
8888
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
89-
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s
90-
' "$PWD" ) || exit
89+
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit
9190

9291
# Use the maximum available, or set MAX_FD != -1 to use that value.
9392
MAX_FD=maximum

BasicsCodelab/app/build.gradle.kts

+3-3
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ android {
6666
dependencies {
6767
implementation("androidx.core:core-ktx:1.15.0")
6868
implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.8.7")
69-
implementation("androidx.activity:activity-compose:1.9.3")
70-
implementation(platform("androidx.compose:compose-bom:2024.12.01"))
69+
implementation("androidx.activity:activity-compose:1.10.0")
70+
implementation(platform("androidx.compose:compose-bom:2025.01.00"))
7171
implementation("androidx.compose.ui:ui")
7272
implementation("androidx.compose.ui:ui-graphics")
7373
implementation("androidx.compose.ui:ui-tooling-preview")
@@ -76,7 +76,7 @@ dependencies {
7676
testImplementation("junit:junit:4.13.2")
7777
androidTestImplementation("androidx.test.ext:junit:1.2.1")
7878
androidTestImplementation("androidx.test.espresso:espresso-core:3.6.1")
79-
androidTestImplementation(platform("androidx.compose:compose-bom:2024.12.01"))
79+
androidTestImplementation(platform("androidx.compose:compose-bom:2025.01.00"))
8080
androidTestImplementation("androidx.compose.ui:ui-test-junit4")
8181
debugImplementation("androidx.compose.ui:ui-tooling")
8282
debugImplementation("androidx.compose.ui:ui-test-manifest")

BasicsCodelab/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
// Top-level build file where you can add configuration options common to all sub-projects/modules.
1818
plugins {
19-
id("com.android.application") version "8.7.3" apply false
19+
id("com.android.application") version "8.8.0" apply false
2020
id("org.jetbrains.kotlin.android") version "2.1.0" apply false
2121
id("org.jetbrains.kotlin.plugin.compose") version "2.1.0" apply false
2222
}

BasicsCodelab/gradle/wrapper/gradle-wrapper.properties

+1-1
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.11.1-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

BasicsCodelab/gradlew

+1-2
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,7 @@ done
8686
# shellcheck disable=SC2034
8787
APP_BASE_NAME=${0##*/}
8888
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
89-
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s
90-
' "$PWD" ) || exit
89+
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit
9190

9291
# Use the maximum available, or set MAX_FD != -1 to use that value.
9392
MAX_FD=maximum

MigrationCodelab/app/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ android {
6060
}
6161

6262
dependencies {
63-
def composeBom = platform('androidx.compose:compose-bom:2024.12.01')
63+
def composeBom = platform('androidx.compose:compose-bom:2025.01.00')
6464
implementation(composeBom)
6565
androidTestImplementation(composeBom)
6666

@@ -74,7 +74,7 @@ dependencies {
7474
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.8.7"
7575
implementation "androidx.navigation:navigation-fragment-ktx:2.8.5"
7676
implementation "androidx.navigation:navigation-ui-ktx:2.8.5"
77-
implementation "androidx.recyclerview:recyclerview:1.3.2"
77+
implementation "androidx.recyclerview:recyclerview:1.4.0"
7878
implementation "androidx.room:room-runtime:2.6.1"
7979
implementation "androidx.room:room-ktx:2.6.1"
8080
implementation "androidx.tracing:tracing:1.2.0"

0 commit comments

Comments
 (0)