diff --git a/.github/workflows/AccessibilityCodelab.yaml b/.github/workflows/AccessibilityCodelab.yaml index d473adcac..ca77161e8 100644 --- a/.github/workflows/AccessibilityCodelab.yaml +++ b/.github/workflows/AccessibilityCodelab.yaml @@ -21,7 +21,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Copy CI gradle.properties run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties diff --git a/.github/workflows/AdvancedStateAndSideEffectsCodelab.yaml b/.github/workflows/AdvancedStateAndSideEffectsCodelab.yaml index 08a98b3ff..db32adfd0 100644 --- a/.github/workflows/AdvancedStateAndSideEffectsCodelab.yaml +++ b/.github/workflows/AdvancedStateAndSideEffectsCodelab.yaml @@ -20,7 +20,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Copy CI gradle.properties run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties @@ -77,7 +77,7 @@ jobs: ls /dev/kvm - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Copy CI gradle.properties run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties diff --git a/.github/workflows/AnimationCodelab.yaml b/.github/workflows/AnimationCodelab.yaml index 8de6de50b..c4569970b 100644 --- a/.github/workflows/AnimationCodelab.yaml +++ b/.github/workflows/AnimationCodelab.yaml @@ -20,7 +20,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Copy CI gradle.properties run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties diff --git a/.github/workflows/BasicLayoutsCodelab.yaml b/.github/workflows/BasicLayoutsCodelab.yaml index ae8476c44..475801a3e 100644 --- a/.github/workflows/BasicLayoutsCodelab.yaml +++ b/.github/workflows/BasicLayoutsCodelab.yaml @@ -20,7 +20,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Copy CI gradle.properties run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties diff --git a/.github/workflows/BasicStateCodelab.yaml b/.github/workflows/BasicStateCodelab.yaml index 5215c004d..2ba5ab1f8 100644 --- a/.github/workflows/BasicStateCodelab.yaml +++ b/.github/workflows/BasicStateCodelab.yaml @@ -20,7 +20,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Copy CI gradle.properties run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties diff --git a/.github/workflows/BasicsCodelab.yaml b/.github/workflows/BasicsCodelab.yaml index 5f56e7453..eb548731c 100644 --- a/.github/workflows/BasicsCodelab.yaml +++ b/.github/workflows/BasicsCodelab.yaml @@ -20,7 +20,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Copy CI gradle.properties run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties diff --git a/.github/workflows/MigrationCodelab.yaml b/.github/workflows/MigrationCodelab.yaml index a8ed0f395..b76476aed 100644 --- a/.github/workflows/MigrationCodelab.yaml +++ b/.github/workflows/MigrationCodelab.yaml @@ -20,7 +20,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Copy CI gradle.properties run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties @@ -69,7 +69,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Copy CI gradle.properties run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties diff --git a/.github/workflows/NavigationCodelab.yaml b/.github/workflows/NavigationCodelab.yaml index e28094bb1..b734338a2 100644 --- a/.github/workflows/NavigationCodelab.yaml +++ b/.github/workflows/NavigationCodelab.yaml @@ -21,7 +21,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Copy CI gradle.properties run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties diff --git a/.github/workflows/TestingCodelab.yaml b/.github/workflows/TestingCodelab.yaml index 3b8871663..36d3b3d42 100644 --- a/.github/workflows/TestingCodelab.yaml +++ b/.github/workflows/TestingCodelab.yaml @@ -21,7 +21,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Copy CI gradle.properties run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties diff --git a/.github/workflows/ThemingCodelab.yaml b/.github/workflows/ThemingCodelab.yaml index d77f4034f..6ee758c76 100644 --- a/.github/workflows/ThemingCodelab.yaml +++ b/.github/workflows/ThemingCodelab.yaml @@ -20,7 +20,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Copy CI gradle.properties run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties diff --git a/AccessibilityCodelab/app/build.gradle b/AccessibilityCodelab/app/build.gradle index fe8c356bf..8bbecc2e9 100644 --- a/AccessibilityCodelab/app/build.gradle +++ b/AccessibilityCodelab/app/build.gradle @@ -21,7 +21,7 @@ plugins { } android { - compileSdkVersion 35 + compileSdkVersion 36 namespace 'com.example.jetnews' defaultConfig { applicationId 'com.example.jetnews' @@ -70,7 +70,7 @@ android { } dependencies { - def composeBom = platform('androidx.compose:compose-bom:2025.06.01') + def composeBom = platform('androidx.compose:compose-bom:2025.08.00') implementation(composeBom) testImplementation(composeBom) androidTestImplementation(composeBom) @@ -98,18 +98,18 @@ dependencies { implementation 'androidx.appcompat:appcompat:1.7.1' implementation 'androidx.activity:activity-ktx:1.10.1' - implementation 'androidx.core:core-ktx:1.16.0' + implementation 'androidx.core:core-ktx:1.17.0' implementation "androidx.activity:activity-compose:1.10.1" - implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.9.1" - implementation "androidx.lifecycle:lifecycle-viewmodel-savedstate:2.9.1" - implementation "androidx.lifecycle:lifecycle-livedata-ktx:2.9.1" - implementation "androidx.lifecycle:lifecycle-viewmodel-compose:2.9.1" + implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.9.2" + implementation "androidx.lifecycle:lifecycle-viewmodel-savedstate:2.9.2" + implementation "androidx.lifecycle:lifecycle-livedata-ktx:2.9.2" + implementation "androidx.lifecycle:lifecycle-viewmodel-compose:2.9.2" - implementation 'androidx.navigation:navigation-compose:2.9.0' + implementation 'androidx.navigation:navigation-compose:2.9.3' - androidTestImplementation 'androidx.test:rules:1.6.1' - androidTestImplementation 'androidx.test:runner:1.6.2' + androidTestImplementation 'androidx.test:rules:1.7.0' + androidTestImplementation 'androidx.test:runner:1.7.0' // TODO: Bump to latest after Espresso 3.5.0 goes stable // (due to https://github.com/robolectric/robolectric/issues/6593) diff --git a/AccessibilityCodelab/build.gradle b/AccessibilityCodelab/build.gradle index 7135286f7..ceb84438d 100644 --- a/AccessibilityCodelab/build.gradle +++ b/AccessibilityCodelab/build.gradle @@ -21,13 +21,13 @@ buildscript { } dependencies { - classpath 'com.android.tools.build:gradle:8.10.1' + classpath 'com.android.tools.build:gradle:8.12.1' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:2.1.21" } } plugins { - id 'com.diffplug.spotless' version '7.0.4' + id 'com.diffplug.spotless' version '7.2.1' id 'org.jetbrains.kotlin.plugin.compose' version "2.1.21" apply false } diff --git a/AccessibilityCodelab/gradle/wrapper/gradle-wrapper.properties b/AccessibilityCodelab/gradle/wrapper/gradle-wrapper.properties index ff23a68d7..2a84e188b 100644 --- a/AccessibilityCodelab/gradle/wrapper/gradle-wrapper.properties +++ b/AccessibilityCodelab/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.2-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-9.0.0-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/AdaptiveUiCodelab/app/build.gradle.kts b/AdaptiveUiCodelab/app/build.gradle.kts index f812dbe48..32383654c 100644 --- a/AdaptiveUiCodelab/app/build.gradle.kts +++ b/AdaptiveUiCodelab/app/build.gradle.kts @@ -22,7 +22,7 @@ plugins { android { namespace = "com.example.reply" - compileSdk = 35 + compileSdk = 36 defaultConfig { applicationId = "com.example.reply" diff --git a/AdaptiveUiCodelab/gradle/libs.versions.toml b/AdaptiveUiCodelab/gradle/libs.versions.toml index 32a7ea599..760c2bef4 100644 --- a/AdaptiveUiCodelab/gradle/libs.versions.toml +++ b/AdaptiveUiCodelab/gradle/libs.versions.toml @@ -1,14 +1,14 @@ [versions] -androidGradlePlugin = "8.10.1" -composeBom = "2025.06.01" -coreKtx = "1.16.0" +androidGradlePlugin = "8.12.1" +composeBom = "2025.08.00" +coreKtx = "1.17.0" activityCompose = "1.10.1" -espressoCore = "3.6.1" +espressoCore = "3.7.0" junit = "4.13.2" -junitVersion = "1.2.1" +junitVersion = "1.3.0" kotlin = "2.1.21" kotlinxCoroutinesAndroid = "1.10.2" -lifecycle = "2.9.1" +lifecycle = "2.9.2" material3Adaptive = "1.1.0" material3AdaptiveNavSuite = "1.3.2" window = "1.4.0" diff --git a/AdaptiveUiCodelab/gradle/wrapper/gradle-wrapper.properties b/AdaptiveUiCodelab/gradle/wrapper/gradle-wrapper.properties index ff23a68d7..2a84e188b 100644 --- a/AdaptiveUiCodelab/gradle/wrapper/gradle-wrapper.properties +++ b/AdaptiveUiCodelab/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.2-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-9.0.0-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/AdvancedStateAndSideEffectsCodelab/app/build.gradle b/AdvancedStateAndSideEffectsCodelab/app/build.gradle index 79e0ea530..13a9aeb5a 100644 --- a/AdvancedStateAndSideEffectsCodelab/app/build.gradle +++ b/AdvancedStateAndSideEffectsCodelab/app/build.gradle @@ -29,7 +29,7 @@ if (rootProject.file("local.properties").exists()) { } android { - compileSdkVersion 35 + compileSdkVersion 36 namespace "androidx.compose.samples.crane" defaultConfig { applicationId "androidx.compose.samples.crane" @@ -107,7 +107,7 @@ dependencies { implementation "androidx.appcompat:appcompat:1.7.1" implementation "androidx.tracing:tracing:1.3.0" - def composeBom = platform('androidx.compose:compose-bom:2025.06.01') + def composeBom = platform('androidx.compose:compose-bom:2025.08.00') implementation(composeBom) androidTestImplementation(composeBom) implementation "androidx.compose.runtime:runtime" @@ -121,23 +121,23 @@ dependencies { debugImplementation "androidx.compose.ui:ui-test-manifest" - def lifecycle_version = "2.9.1" + def lifecycle_version = "2.9.2" implementation "androidx.lifecycle:lifecycle-viewmodel-compose:$lifecycle_version" implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycle_version" implementation "androidx.lifecycle:lifecycle-runtime-compose:$lifecycle_version" - implementation "com.google.dagger:hilt-android:2.56.2" - kapt "com.google.dagger:hilt-compiler:2.56.2" + implementation "com.google.dagger:hilt-android:2.57" + kapt "com.google.dagger:hilt-compiler:2.57" implementation "io.coil-kt:coil-compose:2.7.0" androidTestImplementation "junit:junit:4.13.2" - androidTestImplementation "androidx.test:core:1.6.1" - androidTestImplementation "androidx.test:runner:1.6.2" - androidTestImplementation "androidx.test:rules:1.6.1" - androidTestImplementation "androidx.test.espresso:espresso-core:3.6.1" - androidTestImplementation "androidx.test.ext:junit-ktx:1.2.1" + androidTestImplementation "androidx.test:core:1.7.0" + androidTestImplementation "androidx.test:runner:1.7.0" + androidTestImplementation "androidx.test:rules:1.7.0" + androidTestImplementation "androidx.test.espresso:espresso-core:3.7.0" + androidTestImplementation "androidx.test.ext:junit-ktx:1.3.0" androidTestImplementation "org.jetbrains.kotlinx:kotlinx-coroutines-test:1.10.2" - androidTestImplementation "com.google.dagger:hilt-android:2.56.2" - androidTestImplementation "com.google.dagger:hilt-android-testing:2.56.2" - kaptAndroidTest "com.google.dagger:hilt-compiler:2.56.2" + androidTestImplementation "com.google.dagger:hilt-android:2.57" + androidTestImplementation "com.google.dagger:hilt-android-testing:2.57" + kaptAndroidTest "com.google.dagger:hilt-compiler:2.57" } diff --git a/AdvancedStateAndSideEffectsCodelab/build.gradle b/AdvancedStateAndSideEffectsCodelab/build.gradle index b32674ea8..7941c22a8 100644 --- a/AdvancedStateAndSideEffectsCodelab/build.gradle +++ b/AdvancedStateAndSideEffectsCodelab/build.gradle @@ -20,15 +20,15 @@ buildscript { mavenCentral() } dependencies { - classpath "com.android.tools.build:gradle:8.10.1" + classpath "com.android.tools.build:gradle:8.12.1" classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:2.1.21" - classpath "com.google.dagger:hilt-android-gradle-plugin:2.56.2" + classpath "com.google.dagger:hilt-android-gradle-plugin:2.57" classpath "org.jetbrains.kotlin:compose-compiler-gradle-plugin:2.1.21" } } plugins { - id 'com.diffplug.spotless' version '7.0.4' + id 'com.diffplug.spotless' version '7.2.1' } subprojects { diff --git a/AdvancedStateAndSideEffectsCodelab/gradle/wrapper/gradle-wrapper.properties b/AdvancedStateAndSideEffectsCodelab/gradle/wrapper/gradle-wrapper.properties index ff23a68d7..2a84e188b 100644 --- a/AdvancedStateAndSideEffectsCodelab/gradle/wrapper/gradle-wrapper.properties +++ b/AdvancedStateAndSideEffectsCodelab/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.2-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-9.0.0-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/BasicLayoutsCodelab/app/build.gradle b/BasicLayoutsCodelab/app/build.gradle index d9f3f78a6..0f167a05a 100644 --- a/BasicLayoutsCodelab/app/build.gradle +++ b/BasicLayoutsCodelab/app/build.gradle @@ -21,7 +21,7 @@ plugins { } android { - compileSdk 35 + compileSdk 36 namespace "com.codelab.basiclayouts" defaultConfig { @@ -61,22 +61,22 @@ android { } dependencies { - def composeBom = platform('androidx.compose:compose-bom:2025.06.01') + def composeBom = platform('androidx.compose:compose-bom:2025.08.00') implementation(composeBom) androidTestImplementation(composeBom) - implementation 'androidx.core:core-ktx:1.16.0' + implementation 'androidx.core:core-ktx:1.17.0' implementation "androidx.compose.ui:ui" implementation 'androidx.compose.material3:material3' implementation 'androidx.compose.material3:material3-window-size-class:1.3.2' implementation "androidx.compose.material:material-icons-extended" implementation "androidx.compose.ui:ui-tooling-preview" implementation "com.google.android.material:material:1.12.0" - implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.9.1' + implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.9.2' implementation 'androidx.activity:activity-compose:1.10.1' testImplementation 'junit:junit:4.13.2' - androidTestImplementation 'androidx.test.ext:junit:1.2.1' - androidTestImplementation 'androidx.test.espresso:espresso-core:3.6.1' + androidTestImplementation 'androidx.test.ext:junit:1.3.0' + androidTestImplementation 'androidx.test.espresso:espresso-core:3.7.0' androidTestImplementation "androidx.compose.ui:ui-test-junit4" debugImplementation "androidx.compose.ui:ui-tooling" } diff --git a/BasicLayoutsCodelab/build.gradle b/BasicLayoutsCodelab/build.gradle index bc450897f..2ec446caf 100644 --- a/BasicLayoutsCodelab/build.gradle +++ b/BasicLayoutsCodelab/build.gradle @@ -19,14 +19,14 @@ buildscript { mavenCentral() } dependencies { - classpath "com.android.tools.build:gradle:8.10.1" + classpath "com.android.tools.build:gradle:8.12.1" classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:2.1.21" classpath "org.jetbrains.kotlin:compose-compiler-gradle-plugin:2.1.21" } } plugins { - id 'com.diffplug.spotless' version '7.0.4' + id 'com.diffplug.spotless' version '7.2.1' } subprojects { diff --git a/BasicLayoutsCodelab/gradle/wrapper/gradle-wrapper.properties b/BasicLayoutsCodelab/gradle/wrapper/gradle-wrapper.properties index ff23a68d7..2a84e188b 100644 --- a/BasicLayoutsCodelab/gradle/wrapper/gradle-wrapper.properties +++ b/BasicLayoutsCodelab/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.2-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-9.0.0-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/MigrationCodelab/app/build.gradle b/MigrationCodelab/app/build.gradle index 0a4fc472c..e8cf44299 100644 --- a/MigrationCodelab/app/build.gradle +++ b/MigrationCodelab/app/build.gradle @@ -22,7 +22,7 @@ apply plugin: 'org.jetbrains.kotlin.plugin.compose' android { - compileSdkVersion 35 + compileSdkVersion 36 namespace "com.google.samples.apps.sunflower" defaultConfig { applicationId "com.google.samples.apps.sunflower" @@ -60,7 +60,7 @@ android { } dependencies { - def composeBom = platform('androidx.compose:compose-bom:2025.06.01') + def composeBom = platform('androidx.compose:compose-bom:2025.08.00') implementation(composeBom) androidTestImplementation(composeBom) @@ -68,18 +68,18 @@ dependencies { kapt "com.github.bumptech.glide:compiler:4.16.0" implementation "androidx.appcompat:appcompat:1.7.1" implementation "androidx.constraintlayout:constraintlayout:2.2.1" - implementation "androidx.core:core-ktx:1.16.0" - implementation "androidx.fragment:fragment-ktx:1.8.8" - implementation "androidx.lifecycle:lifecycle-livedata-ktx:2.9.1" - implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.9.1" - implementation "androidx.navigation:navigation-fragment-ktx:2.9.0" - implementation "androidx.navigation:navigation-ui-ktx:2.9.0" + implementation "androidx.core:core-ktx:1.17.0" + implementation "androidx.fragment:fragment-ktx:1.8.9" + implementation "androidx.lifecycle:lifecycle-livedata-ktx:2.9.2" + implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.9.2" + implementation "androidx.navigation:navigation-fragment-ktx:2.9.3" + implementation "androidx.navigation:navigation-ui-ktx:2.9.3" implementation "androidx.recyclerview:recyclerview:1.4.0" implementation "androidx.room:room-runtime:2.7.2" implementation "androidx.room:room-ktx:2.7.2" implementation "androidx.tracing:tracing:1.3.0" implementation "androidx.viewpager2:viewpager2:1.1.0" - implementation "androidx.work:work-runtime-ktx:2.10.2" + implementation "androidx.work:work-runtime-ktx:2.10.3" implementation "com.github.bumptech.glide:glide:4.16.0" implementation "com.google.android.material:material:1.12.0" implementation "com.google.code.gson:gson:2.13.1" @@ -98,12 +98,12 @@ dependencies { // Testing dependencies androidTestImplementation "androidx.arch.core:core-testing:2.2.0" - androidTestImplementation "androidx.test.espresso:espresso-contrib:3.6.1" - androidTestImplementation "androidx.test.espresso:espresso-core:3.6.1" - androidTestImplementation "androidx.test.espresso:espresso-intents:3.6.1" - androidTestImplementation "androidx.test.ext:junit:1.2.1" + androidTestImplementation "androidx.test.espresso:espresso-contrib:3.7.0" + androidTestImplementation "androidx.test.espresso:espresso-core:3.7.0" + androidTestImplementation "androidx.test.espresso:espresso-intents:3.7.0" + androidTestImplementation "androidx.test.ext:junit:1.3.0" androidTestImplementation "androidx.test.uiautomator:uiautomator:2.3.0" - androidTestImplementation "androidx.work:work-testing:2.10.2" + androidTestImplementation "androidx.work:work-testing:2.10.3" androidTestImplementation "com.google.android.apps.common.testing.accessibility.framework:accessibility-test-framework:4.1.1" androidTestImplementation "com.google.truth:truth:1.4.4" androidTestImplementation "androidx.compose.ui:ui-test-junit4" diff --git a/MigrationCodelab/build.gradle b/MigrationCodelab/build.gradle index d1053a8c8..22c918388 100644 --- a/MigrationCodelab/build.gradle +++ b/MigrationCodelab/build.gradle @@ -21,15 +21,15 @@ buildscript { } dependencies { - classpath "com.android.tools.build:gradle:8.10.1" + classpath "com.android.tools.build:gradle:8.12.1" classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:2.1.21" - classpath "androidx.navigation:navigation-safe-args-gradle-plugin:2.9.0" + classpath "androidx.navigation:navigation-safe-args-gradle-plugin:2.9.3" classpath "org.jetbrains.kotlin:compose-compiler-gradle-plugin:2.1.21" } } plugins { - id 'com.diffplug.spotless' version '7.0.4' + id 'com.diffplug.spotless' version '7.2.1' } allprojects { diff --git a/MigrationCodelab/gradle/wrapper/gradle-wrapper.properties b/MigrationCodelab/gradle/wrapper/gradle-wrapper.properties index ff23a68d7..2a84e188b 100644 --- a/MigrationCodelab/gradle/wrapper/gradle-wrapper.properties +++ b/MigrationCodelab/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.2-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-9.0.0-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/NavigationCodelab/app/build.gradle b/NavigationCodelab/app/build.gradle index 858f9f616..503f641d6 100644 --- a/NavigationCodelab/app/build.gradle +++ b/NavigationCodelab/app/build.gradle @@ -21,7 +21,7 @@ plugins { } android { - compileSdkVersion 35 + compileSdkVersion 36 namespace "com.example.compose.rally" defaultConfig { @@ -81,12 +81,12 @@ android { } dependencies { - def composeBom = platform('androidx.compose:compose-bom:2025.06.01') + def composeBom = platform('androidx.compose:compose-bom:2025.08.00') implementation(composeBom) androidTestImplementation(composeBom) implementation "androidx.appcompat:appcompat:1.7.1" - implementation "androidx.core:core-ktx:1.16.0" + implementation "androidx.core:core-ktx:1.17.0" implementation "com.google.android.material:material:1.12.0" // Compose @@ -96,14 +96,14 @@ dependencies { implementation "androidx.compose.material:material" implementation "androidx.compose.material:material-icons-extended" implementation "androidx.activity:activity-compose:1.10.1" - implementation "androidx.navigation:navigation-compose:2.9.0" + implementation "androidx.navigation:navigation-compose:2.9.3" debugImplementation "androidx.compose.ui:ui-tooling" // Testing dependencies androidTestImplementation "androidx.arch.core:core-testing:2.2.0" - androidTestImplementation "androidx.navigation:navigation-testing:2.9.0" - androidTestImplementation "androidx.test.espresso:espresso-contrib:3.6.1" - androidTestImplementation "androidx.test.espresso:espresso-core:3.6.1" + androidTestImplementation "androidx.navigation:navigation-testing:2.9.3" + androidTestImplementation "androidx.test.espresso:espresso-contrib:3.7.0" + androidTestImplementation "androidx.test.espresso:espresso-core:3.7.0" // Compose testing dependencies androidTestImplementation "androidx.compose.ui:ui-test-junit4" diff --git a/NavigationCodelab/build.gradle b/NavigationCodelab/build.gradle index e74dfd91d..bf84af9d6 100644 --- a/NavigationCodelab/build.gradle +++ b/NavigationCodelab/build.gradle @@ -21,14 +21,14 @@ buildscript { } dependencies { - classpath "com.android.tools.build:gradle:8.10.1" + classpath "com.android.tools.build:gradle:8.12.1" classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:2.1.21" classpath "org.jetbrains.kotlin:compose-compiler-gradle-plugin:2.1.21" } } plugins { - id 'com.diffplug.spotless' version '7.0.4' + id 'com.diffplug.spotless' version '7.2.1' } subprojects { diff --git a/NavigationCodelab/gradle/wrapper/gradle-wrapper.properties b/NavigationCodelab/gradle/wrapper/gradle-wrapper.properties index ff23a68d7..2a84e188b 100644 --- a/NavigationCodelab/gradle/wrapper/gradle-wrapper.properties +++ b/NavigationCodelab/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.2-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-9.0.0-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/PerformanceCodelab/app/build.gradle.kts b/PerformanceCodelab/app/build.gradle.kts index ba53f938c..998f13e69 100644 --- a/PerformanceCodelab/app/build.gradle.kts +++ b/PerformanceCodelab/app/build.gradle.kts @@ -22,7 +22,7 @@ plugins { android { namespace = "com.compose.performance" - compileSdk = 35 + compileSdk = 36 defaultConfig { applicationId = "com.compose.performance" @@ -92,7 +92,7 @@ dependencies { implementation(libs.androidx.tracing.ktx) // TODO Codelab task: Add androidx.runtime-tracing dependency to enable Composition Tracing - implementation("androidx.compose.runtime:runtime-tracing:1.8.3") + implementation("androidx.compose.runtime:runtime-tracing:1.9.0") implementation(libs.coil.compose) implementation(libs.androidx.media3.exoplayer) diff --git a/PerformanceCodelab/gradle/libs.versions.toml b/PerformanceCodelab/gradle/libs.versions.toml index 67964b79d..75b87afb0 100644 --- a/PerformanceCodelab/gradle/libs.versions.toml +++ b/PerformanceCodelab/gradle/libs.versions.toml @@ -1,28 +1,28 @@ [versions] coil = "2.7.0" -com-android-application = "8.10.1" +com-android-application = "8.12.1" desugar_jdk_libs = "2.1.5" kotlinx-datetime = "0.6.2" -lifecycle-viewmodel-compose = "2.9.1" +lifecycle-viewmodel-compose = "2.9.2" material-icons-core = "1.7.8" -media3 = "1.7.1" +media3 = "1.8.0" org-jetbrains-kotlin-android = "2.1.21" -core-ktx = "1.16.0" +core-ktx = "1.17.0" junit = "4.13.2" -androidx-test-ext-junit = "1.2.1" -espresso-core = "3.6.1" -lifecycle-runtime-ktx = "2.9.1" +androidx-test-ext-junit = "1.3.0" +espresso-core = "3.7.0" +lifecycle-runtime-ktx = "2.9.2" activity-compose = "1.10.1" -compose-bom = "2025.06.01" -runtime-tracing = "1.8.3" +compose-bom = "2025.08.00" +runtime-tracing = "1.9.0" tracing-ktx = "1.3.0" tracing-perfetto = "1.0.0" uiautomator = "2.3.0" -benchmark = "1.3.4" -androidx-baselineprofile = "1.3.4" +benchmark = "1.4.0" +androidx-baselineprofile = "1.4.0" profileinstaller = "1.4.1" material3 = "1.3.2" -spotless = "7.0.4" +spotless = "7.2.1" ktlint = "1.2.1" [libraries] diff --git a/PerformanceCodelab/gradle/wrapper/gradle-wrapper.properties b/PerformanceCodelab/gradle/wrapper/gradle-wrapper.properties index ff23a68d7..2a84e188b 100644 --- a/PerformanceCodelab/gradle/wrapper/gradle-wrapper.properties +++ b/PerformanceCodelab/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.2-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-9.0.0-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/PerformanceCodelab/measure/build.gradle.kts b/PerformanceCodelab/measure/build.gradle.kts index efa81f8f1..53559285e 100644 --- a/PerformanceCodelab/measure/build.gradle.kts +++ b/PerformanceCodelab/measure/build.gradle.kts @@ -23,7 +23,7 @@ plugins { android { namespace = "com.compose.performance.measure" - compileSdk = 35 + compileSdk = 36 compileOptions { sourceCompatibility = JavaVersion.VERSION_17 diff --git a/TestingCodelab/app/build.gradle b/TestingCodelab/app/build.gradle index 00672ba4e..216f5b260 100644 --- a/TestingCodelab/app/build.gradle +++ b/TestingCodelab/app/build.gradle @@ -21,7 +21,7 @@ plugins { } android { - compileSdkVersion 35 + compileSdkVersion 36 namespace "com.example.compose.rally" defaultConfig { @@ -84,7 +84,7 @@ android { } dependencies { - def composeBom = platform('androidx.compose:compose-bom:2025.06.01') + def composeBom = platform('androidx.compose:compose-bom:2025.08.00') implementation(composeBom) androidTestImplementation(composeBom) diff --git a/TestingCodelab/build.gradle b/TestingCodelab/build.gradle index 3e5860073..67c77eeb5 100644 --- a/TestingCodelab/build.gradle +++ b/TestingCodelab/build.gradle @@ -18,7 +18,7 @@ buildscript { // Define versions in a single place ext { // Sdk and tools - compileSdkVersion = 35 + compileSdkVersion = 36 minSdkVersion = 21 targetSdkVersion = 33 @@ -27,12 +27,12 @@ buildscript { activityComposeVersion = '1.10.1' coreTestingVersion = '2.2.0' coroutinesVersion = "1.5.2" - espressoVersion = '3.6.1' - fragmentVersion = '1.8.8' + espressoVersion = '3.7.0' + fragmentVersion = '1.8.9' junitVersion = '4.13.1' kotlinVersion = '2.1.21' ktlintVersion = '0.48.2' - ktxVersion = '1.16.0' + ktxVersion = '1.17.0' lifecycleVersion = '2.3.0' materialVersion = '1.12.0' runnerVersion = '1.0.1' @@ -48,14 +48,14 @@ buildscript { } dependencies { - classpath "com.android.tools.build:gradle:8.10.1" + classpath "com.android.tools.build:gradle:8.12.1" classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion" classpath "org.jetbrains.kotlin:compose-compiler-gradle-plugin:$kotlinVersion" } } plugins { - id 'com.diffplug.spotless' version '7.0.4' + id 'com.diffplug.spotless' version '7.2.1' } subprojects { diff --git a/TestingCodelab/gradle/wrapper/gradle-wrapper.properties b/TestingCodelab/gradle/wrapper/gradle-wrapper.properties index ff23a68d7..2a84e188b 100644 --- a/TestingCodelab/gradle/wrapper/gradle-wrapper.properties +++ b/TestingCodelab/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.2-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-9.0.0-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/ThemingCodelab/app/build.gradle b/ThemingCodelab/app/build.gradle index f93ff9f31..422adcfe7 100644 --- a/ThemingCodelab/app/build.gradle +++ b/ThemingCodelab/app/build.gradle @@ -22,7 +22,7 @@ plugins { android { namespace "com.example.reply" - compileSdk 35 + compileSdk 36 defaultConfig { applicationId 'com.example.reply' minSdkVersion 21 @@ -87,7 +87,7 @@ android { } dependencies { - def composeBom = platform('androidx.compose:compose-bom:2025.06.01') + def composeBom = platform('androidx.compose:compose-bom:2025.08.00') implementation(composeBom) testImplementation(composeBom) androidTestImplementation(composeBom) @@ -111,17 +111,17 @@ dependencies { implementation 'androidx.appcompat:appcompat:1.7.1' implementation 'androidx.activity:activity-ktx:1.10.1' - implementation 'androidx.core:core-ktx:1.16.0' + implementation 'androidx.core:core-ktx:1.17.0' implementation "androidx.activity:activity-compose:1.10.1" - implementation "androidx.lifecycle:lifecycle-runtime-compose:2.9.1" - implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.9.1" - implementation "androidx.lifecycle:lifecycle-viewmodel-savedstate:2.9.1" - implementation "androidx.lifecycle:lifecycle-livedata-ktx:2.9.1" - implementation "androidx.lifecycle:lifecycle-viewmodel-compose:2.9.1" + implementation "androidx.lifecycle:lifecycle-runtime-compose:2.9.2" + implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.9.2" + implementation "androidx.lifecycle:lifecycle-viewmodel-savedstate:2.9.2" + implementation "androidx.lifecycle:lifecycle-livedata-ktx:2.9.2" + implementation "androidx.lifecycle:lifecycle-viewmodel-compose:2.9.2" - androidTestImplementation 'androidx.test:rules:1.6.1' - androidTestImplementation 'androidx.test:runner:1.6.2' + androidTestImplementation 'androidx.test:rules:1.7.0' + androidTestImplementation 'androidx.test:runner:1.7.0' } diff --git a/ThemingCodelab/build.gradle b/ThemingCodelab/build.gradle index 42a0527af..ad4d00724 100644 --- a/ThemingCodelab/build.gradle +++ b/ThemingCodelab/build.gradle @@ -21,14 +21,14 @@ buildscript { } dependencies { - classpath 'com.android.tools.build:gradle:8.10.1' + classpath 'com.android.tools.build:gradle:8.12.1' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:2.1.21" classpath "org.jetbrains.kotlin:compose-compiler-gradle-plugin:2.1.21" } } plugins { - id 'com.diffplug.spotless' version '7.0.4' + id 'com.diffplug.spotless' version '7.2.1' } subprojects { diff --git a/ThemingCodelab/gradle/wrapper/gradle-wrapper.properties b/ThemingCodelab/gradle/wrapper/gradle-wrapper.properties index ff23a68d7..2a84e188b 100644 --- a/ThemingCodelab/gradle/wrapper/gradle-wrapper.properties +++ b/ThemingCodelab/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.2-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-9.0.0-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME