Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions camerax/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ plugins {

android {
namespace = "com.example.camerax.snippets"
compileSdk = 36
compileSdk = libs.versions.compileSdk.get().toInt()

defaultConfig {
applicationId = "com.example.camerax.snippets"
minSdk = 23
targetSdk = 36
targetSdk = libs.versions.targetSdk.get().toInt()
versionCode = 1
versionName = "1.0"

Expand Down
4 changes: 2 additions & 2 deletions contacts/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ plugins {

android {
namespace = "com.example.contacts"
compileSdk = 37
compileSdk = libs.versions.compileSdk.get().toInt()

defaultConfig {
applicationId = "com.example.contacts"
minSdk = 24
targetSdk = 37
targetSdk = libs.versions.targetSdk.get().toInt()
versionCode = 1
versionName = "1.0"

Expand Down
4 changes: 2 additions & 2 deletions datastore/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ plugins {

android {
namespace = "com.example.datastore.snippets"
compileSdk = 36
compileSdk = libs.versions.compileSdk.get().toInt()

defaultConfig {
applicationId = "com.example.datastore.snippets"
minSdk = 23
targetSdk = 36
targetSdk = libs.versions.targetSdk.get().toInt()
versionCode = 1
versionName = "1.0"

Expand Down
20 changes: 10 additions & 10 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ androidx-appcompat = "1.7.1"
androidx-appfunctions = "1.0.0-alpha08"
androidx-cameraX = "1.6.0"
androidx-car = "1.7.0"
androidx-compose-bom = "2026.03.00"
androidx-compose-bom = "2026.05.00"
androidx-compose-ui-test = "1.7.0-alpha08"
androidx-compose-ui-test-junit4-accessibility = "1.11.0-beta01"
androidx-compose-ui-test-junit4-accessibility = "1.11.1"
androidx-constraintlayout = "2.2.1"
androidx-constraintlayout-compose = "1.1.1"
androidx-coordinator-layout = "1.3.0"
Expand All @@ -26,7 +26,7 @@ androidx-lifecycle-runtime-compose = "2.10.0"
androidx-lifecycle-viewmodel-navigation3 = "2.10.0-beta01"
androidx-navigation = "2.9.7"
androidx-navigation3 = "1.1.0"
androidx-paging = "3.4.2"
androidx-paging = "3.5.0"
androidx-startup-runtime = "1.2.0"
androidx-test = "1.7.0"
androidx-test-core-ktx = "1.6.1"
Expand All @@ -41,8 +41,8 @@ appcompat = "1.7.1"
coil = "2.7.0"
# @keep
compileSdk = "37"
compose-latest = "1.10.5"
composeUiTooling = "1.5.6"
compose-latest = "1.11.1"
composeUiTooling = "1.6.1"
coreSplashscreen = "1.2.0"
coroutines = "1.10.2"
crossdeviceprompt = "0.0.1"
Expand All @@ -68,7 +68,7 @@ kotlinxSerialization = "1.10.0"
ksp = "2.3.6"
ktlint = "1.5.0"
lifecycleService = "2.10.0"
maps-compose = "8.2.1"
maps-compose = "8.3.0"
material = "1.14.0-alpha10"
material3-adaptive = "1.2.0"
material3-adaptive-navigation-suite = "1.4.0"
Expand All @@ -94,14 +94,14 @@ targetSdk = "37"
tiles = "1.5.0"
tracing = "1.3.0"
truth = "1.4.4"
tvComposeMaterial3 = "1.1.0-beta01"
tvComposeMaterial3 = "1.1.0"
validatorPush = "1.0.0-alpha09"
version-catalog-update = "1.1.0"
watchfaceComplicationsDataSourceKtx = "1.3.0"
wear = "1.4.0"
wearComposeFoundation = "1.6.0-rc01"
wearComposeMaterial = "1.6.0-rc01"
wearComposeMaterial3 = "1.6.0-rc01"
wearComposeFoundation = "1.6.1"
wearComposeMaterial = "1.6.1"
wearComposeMaterial3 = "1.6.1"
wearInput = "1.2.0"
wearOngoing = "1.1.0"
wearPhoneInteractions = "1.1.0"
Expand Down
4 changes: 2 additions & 2 deletions healthconnect/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ plugins {

android {
namespace = "com.example.healthconnect"
compileSdk = 37
compileSdk = libs.versions.compileSdk.get().toInt()

defaultConfig {
applicationId = "com.example.healthconnect"
minSdk = 26
targetSdk = 37
targetSdk = libs.versions.targetSdk.get().toInt()
versionCode = 1
versionName = "1.0"

Expand Down
6 changes: 2 additions & 4 deletions telecom/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,12 @@ plugins {

android {
namespace = "com.example.telecom"
compileSdk {
version = release(37)
}
compileSdk = libs.versions.compileSdk.get().toInt()
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The replacement of the compileSdk block with a direct assignment using .toInt() might lead to issues if the version catalog value is ever changed to a non-integer string (e.g., for a preview SDK like 'android-38'). While it works for the current value '37', consider using a more flexible approach if preview SDK support is required, as the previous release(37) helper likely handled this abstraction.


defaultConfig {
applicationId = "com.example.telecom"
minSdk = 24
targetSdk = 37
targetSdk = libs.versions.targetSdk.get().toInt()
versionCode = 1
versionName = "1.0"

Expand Down
4 changes: 2 additions & 2 deletions tv/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ plugins {

android {
namespace = "com.example.tv"
compileSdk = 36
compileSdk = libs.versions.compileSdk.get().toInt()

defaultConfig {
applicationId = "com.example.tv"
minSdk = 28
targetSdk = 36
targetSdk = libs.versions.targetSdk.get().toInt()
versionCode = 1
versionName = "1.0"
}
Expand Down
4 changes: 2 additions & 2 deletions watchface/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ plugins {

android {
namespace = "com.example.simpledigital"
compileSdk = 36
compileSdk = libs.versions.compileSdk.get().toInt()

defaultConfig {
applicationId = "com.example.simpledigital"
minSdk = 36
targetSdk = 36
targetSdk = libs.versions.targetSdk.get().toInt()
versionCode = 1
versionName = "1.0.0"
}
Expand Down
4 changes: 2 additions & 2 deletions wear/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ plugins {

android {
namespace = "com.example.wear"
compileSdk = 36
compileSdk = libs.versions.compileSdk.get().toInt()

defaultConfig {
applicationId = "com.example.wear"
minSdk = 33
targetSdk = 36
targetSdk = libs.versions.targetSdk.get().toInt()
versionCode = 1
versionName = "1.0"
vectorDrawables {
Expand Down
4 changes: 2 additions & 2 deletions wearcompanion/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ plugins {

android {
namespace = "com.example.wear.snippets"
compileSdk = 36
compileSdk = libs.versions.compileSdk.get().toInt()

defaultConfig {
applicationId = "com.example.wear.snippets"
minSdk = 28
targetSdk = 36
targetSdk = libs.versions.targetSdk.get().toInt()
versionCode = 1
versionName = "1.0"

Expand Down
Loading