Skip to content

Commit

Permalink
Upgrade dependencies (#41)
Browse files Browse the repository at this point in the history
* chore: 🤖 upgrade version number

* chore: 🤖 upgrade android gradle plugin

* chore: 🤖 upgrade lifecycle related dependencies

* chore: 🤖 upgrade android-core-ktx

* chore: 🤖 upgrade compose dependencies

* chore: 🤖 upgrade datastore

* chore: 🤖 upgrade junit-ext

* chore: 🤖 use same version for all hilt plugins and upgrade

* chore: 🤖 merge lifecycle dependencies with same version
  • Loading branch information
ricky9667 authored Jul 17, 2024
1 parent 70d5a7a commit 5c1086f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 14 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ android {
applicationId = "com.rickyhu.hushkeyboard"
minSdk = 26
targetSdk = 34
versionCode = 1
versionCode = 2
versionName = "0.3.0"

testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
Expand Down
24 changes: 11 additions & 13 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,29 +1,27 @@
[versions]
activity-compose = "1.8.2"
android-gradle-plugin = "8.1.1"
compose-bom = "2024.02.00"
core-ktx = "1.12.0"
datastore = "1.0.0"
hilt = "2.44"
hilt-android-compiler = "2.44"
activity-compose = "1.9.0"
android-gradle-plugin = "8.1.4"
android-lifecycle = "2.8.3"
compose-bom = "2024.06.00"
core-ktx = "1.13.1"
datastore = "1.1.1"
hilt = "2.49"
hilt-navigation-compose = "1.2.0"
junit = "4.13.2"
junit-ext = "1.1.5"
junit-ext = "1.2.1"
kotlin = "1.8.10"
kotlin-serialization = "1.8.10"
kotlinx-serialization-json = "1.3.2"
kover = "0.7.6"
ktlint = "11.4.1"
navigation-compose = "2.7.7"
lifecycle-runtime-ktx = "2.7.0"
lifecycle-service = "2.7.0"
robolectric = "4.12"
splitties-systemservices = "3.0.0"

[libraries]
androidx-core-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "core-ktx" }
androidx-lifecycle-runtime-ktx = { group = "androidx.lifecycle", name = "lifecycle-runtime-ktx", version.ref = "lifecycle-runtime-ktx" }
androidx-lifecycle-service = { group = "androidx.lifecycle", name = "lifecycle-service", version.ref = "lifecycle-service" }
androidx-lifecycle-runtime-ktx = { group = "androidx.lifecycle", name = "lifecycle-runtime-ktx", version.ref = "android-lifecycle" }
androidx-lifecycle-service = { group = "androidx.lifecycle", name = "lifecycle-service", version.ref = "android-lifecycle" }
androidx-activity-compose = { group = "androidx.activity", name = "activity-compose", version.ref = "activity-compose" }
androidx-compose-bom = { group = "androidx.compose", name = "compose-bom", version.ref = "compose-bom" }
androidx-compose-material3 = { group = "androidx.compose.material3", name = "material3" }
Expand All @@ -37,7 +35,7 @@ androidx-datastore = { group = "androidx.datastore", name = "datastore", version
androidx-navigation-compose = { group = "androidx.navigation", name = "navigation-compose", version.ref = "navigation-compose" }
androidx-test-ext = { group = "androidx.test.ext", name = "junit", version.ref = "junit-ext" }
hilt = { group = "com.google.dagger", name = "hilt-android", version.ref = "hilt" }
hilt-android-compiler = { group = "com.google.dagger", name = "hilt-android-compiler", version.ref = "hilt-android-compiler" }
hilt-android-compiler = { group = "com.google.dagger", name = "hilt-android-compiler", version.ref = "hilt" }
hilt-navigation-compose = { module = "androidx.hilt:hilt-navigation-compose", version.ref = "hilt-navigation-compose" }
junit = { group = "junit", name = "junit", version.ref = "junit" }
kotlin-serialization = { group = "org.jetbrains.kotlin", name = "kotlin-serialization", version.ref = "kotlin-serialization" }
Expand Down

0 comments on commit 5c1086f

Please sign in to comment.