Skip to content

Commit 014c64e

Browse files
authored
build(deps): update various dependencies (#1556)
Updates include: - `compileSdk` and `targetSdk` to 36 - Lifecycle ViewModel KTX to 2.9.2 - MockK to 1.14.5 - Lint to 31.12.0
1 parent dbd633f commit 014c64e

File tree

3 files changed

+10
-8
lines changed

3 files changed

+10
-8
lines changed

demo/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ android {
2626
}
2727

2828
defaultConfig {
29-
compileSdk = 35
29+
compileSdk = libs.versions.compileSdk.get().toInt()
3030
applicationId = "com.google.maps.android.utils.demo"
3131
minSdk = 21
32-
targetSdk = 35
32+
targetSdk = libs.versions.targetSdk.get().toInt()
3333
versionCode = 1
3434
versionName = "1.0"
3535
}

gradle/libs.versions.toml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
[versions]
2+
compileSdk = "36"
3+
targetSdk = "36"
24
appcompat = "1.7.1"
35
dokka-gradle-plugin = "2.0.0"
46
gradle = "8.10.1"
57
jacoco-android = "0.2.1"
68
lifecycle-extensions = "2.2.0"
7-
lifecycle-viewmodel-ktx = "2.9.1"
9+
lifecycle-viewmodel-ktx = "2.9.2"
810
kotlin = "2.2.0"
911
kotlinx-coroutines = "1.10.2"
1012
junit = "4.13.2"
@@ -15,8 +17,8 @@ play-services-maps = "19.2.0"
1517
core-ktx = "1.16.0"
1618
robolectric = "4.15.1"
1719
kxml2 = "2.3.0"
18-
mockk = "1.14.4"
19-
lint = "31.11.0"
20+
mockk = "1.14.5"
21+
lint = "31.12.0"
2022
org-jacoco-core = "0.8.13"
2123
material = "1.12.0"
2224
gradleMavenPublishPlugin = "0.34.0"
@@ -49,4 +51,4 @@ lint-tests = { module = "com.android.tools.lint:lint-tests", version.ref = "lint
4951
testutils = { module = "com.android.tools:testutils", version.ref = "lint" }
5052
org-jacoco-core = { module = "org.jacoco:org.jacoco.core", version.ref = "org-jacoco-core" }
5153
material = { group = "com.google.android.material", name = "material", version.ref = "material" }
52-
gradle-maven-publish-plugin = { module = "com.vanniktech:gradle-maven-publish-plugin", version.ref = "gradleMavenPublishPlugin" }
54+
gradle-maven-publish-plugin = { module = "com.vanniktech:gradle-maven-publish-plugin", version.ref = "gradleMavenPublishPlugin" }

library/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ android {
2424
sarifOutput = file("$buildDir/reports/lint-results.sarif")
2525
}
2626
defaultConfig {
27-
compileSdk = 35
27+
compileSdk = libs.versions.compileSdk.get().toInt()
2828
minSdk = 21
29-
targetSdk = 35
29+
targetSdk = libs.versions.targetSdk.get().toInt()
3030
consumerProguardFiles("consumer-rules.pro")
3131
buildConfigField("String", "TRAVIS", "\"${System.getenv("TRAVIS")}\"")
3232
}

0 commit comments

Comments
 (0)