From 5042554f209a4d6e7372d71d90c964adacd725e7 Mon Sep 17 00:00:00 2001 From: marcodallaba Date: Thu, 5 Dec 2024 04:45:54 +0000 Subject: [PATCH] Dependency updates --- gradle/libs.versions.toml | 94 ++++++++++++++++++--------------------- 1 file changed, 44 insertions(+), 50 deletions(-) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 65193bd..bf3b6e1 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,68 +1,62 @@ [versions] -agp = "8.4.0-rc01" -activityCompose = "1.8.2" -appcompat = "1.6.1" -coil = "2.6.0" -composeBom = "2023.08.00" -coreKtx = "1.12.0" -coroutines = "1.8.0" -detekt = "1.23.1" -espressoCore = "3.5.1" -hilt = "2.50" +activityCompose = "1.9.3" +agp = "8.9.0-alpha04" +coil = "2.7.0" +composeBom = "2024.11.00" +coreKtx = "1.15.0" +coroutines = "1.9.0" +detekt = "1.23.7" +espressoCore = "3.6.1" +hilt = "2.53" hiltNavigationCompose = "1.2.0" junit = "4.13.2" -junitVersion = "1.1.5" -kotlin = "1.9.22" -kotlinter = "3.16.0" -kover = "0.7.6" -ksp = "1.9.22-1.0.17" -lifecycleRuntimeKtx = "2.7.0" -material = "1.11.0" -mockitoCore = "5.11.0" -navigationCompose = "2.7.7" +junitVersion = "1.2.1" +kotlin = "2.1.0" +kotlinter = "4.5.0" +kover = "0.8.3" +ksp = "1.9.22-1.0.18" +lifecycleRuntimeKtx = "2.8.7" +mockitoCore = "5.14.2" +navigationCompose = "2.8.4" okHttp = "4.12.0" -paging = "3.2.1" +paging = "3.3.4" +pagingTesting = "3.3.4" paletteKtx = "1.0.0" -retrofit = "2.9.0" +retrofit = "2.11.0" timber = "5.0.1" -versionCatalog = "0.7.0" +versionCatalog = "0.8.5" versionsBenManes = "0.51.0" -pagingTesting = "3.2.1" [libraries] -androidx-activity-compose = { group = "androidx.activity", name = "activity-compose", version.ref = "activityCompose" } -androidx-appcompat = { group = "androidx.appcompat", name = "appcompat", version.ref = "appcompat" } -androidx-compose-bom = { group = "androidx.compose", name = "compose-bom", version.ref = "composeBom" } -androidx-core-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "coreKtx" } -androidx-espresso-core = { group = "androidx.test.espresso", name = "espresso-core", version.ref = "espressoCore" } +androidx-activity-compose = { module = "androidx.activity:activity-compose", version.ref = "activityCompose" } +androidx-compose-bom = { module = "androidx.compose:compose-bom", version.ref = "composeBom" } +androidx-core-ktx = { module = "androidx.core:core-ktx", version.ref = "coreKtx" } +androidx-espresso-core = { module = "androidx.test.espresso:espresso-core", version.ref = "espressoCore" } androidx-hilt-hiltNavigationCompose = { module = "androidx.hilt:hilt-navigation-compose", version.ref = "hiltNavigationCompose" } -androidx-junit = { group = "androidx.test.ext", name = "junit", version.ref = "junitVersion" } -androidx-lifecycle-runtime-ktx = { group = "androidx.lifecycle", name = "lifecycle-runtime-ktx", version.ref = "lifecycleRuntimeKtx" } -androidx-material3 = { group = "androidx.compose.material3", name = "material3" } +androidx-junit = { module = "androidx.test.ext:junit", version.ref = "junitVersion" } +androidx-lifecycle-runtime-ktx = { module = "androidx.lifecycle:lifecycle-runtime-ktx", version.ref = "lifecycleRuntimeKtx" } +androidx-material3 = { module = "androidx.compose.material3:material3" } androidx-navigation-navigationCompose = { module = "androidx.navigation:navigation-compose", version.ref = "navigationCompose" } -androidx-paging-compose = { group = "androidx.paging", name = "paging-compose", version.ref = "paging" } -androidx-paging-runtime = { group = "androidx.paging", name = "paging-runtime", version.ref = "paging" } -androidx-paging-testing = { group = "androidx.paging", name = "paging-testing", version.ref = "pagingTesting" } -androidx-palette-ktx = { group = "androidx.palette", name = "palette-ktx", version.ref = "paletteKtx" } -androidx-ui = { group = "androidx.compose.ui", name = "ui" } -androidx-ui-graphics = { group = "androidx.compose.ui", name = "ui-graphics" } -androidx-ui-test-junit4 = { group = "androidx.compose.ui", name = "ui-test-junit4" } -androidx-ui-test-manifest = { group = "androidx.compose.ui", name = "ui-test-manifest" } -androidx-ui-tooling = { group = "androidx.compose.ui", name = "ui-tooling" } -androidx-ui-tooling-preview = { group = "androidx.compose.ui", name = "ui-tooling-preview" } -coil-compose = { group = "io.coil-kt", name = "coil-compose", version.ref = "coil"} -coil-core = { group = "io.coil-kt", name = "coil", version.ref = "coil"} +androidx-paging-compose = { module = "androidx.paging:paging-compose", version.ref = "paging" } +androidx-paging-runtime = { module = "androidx.paging:paging-runtime", version.ref = "paging" } +androidx-paging-testing = { module = "androidx.paging:paging-testing", version.ref = "pagingTesting" } +androidx-palette-ktx = { module = "androidx.palette:palette-ktx", version.ref = "paletteKtx" } +androidx-ui = { module = "androidx.compose.ui:ui" } +androidx-ui-graphics = { module = "androidx.compose.ui:ui-graphics" } +androidx-ui-test-junit4 = { module = "androidx.compose.ui:ui-test-junit4" } +androidx-ui-test-manifest = { module = "androidx.compose.ui:ui-test-manifest" } +androidx-ui-tooling = { module = "androidx.compose.ui:ui-tooling" } +androidx-ui-tooling-preview = { module = "androidx.compose.ui:ui-tooling-preview" } +coil-compose = { module = "io.coil-kt:coil-compose", version.ref = "coil" } +coil-core = { module = "io.coil-kt:coil", version.ref = "coil" } hilt-android = { module = "com.google.dagger:hilt-android", version.ref = "hilt" } hilt-compiler = { module = "com.google.dagger:hilt-compiler", version.ref = "hilt" } hilt-plugin = { module = "com.google.dagger:hilt-android-gradle-plugin", version.ref = "hilt" } -hilt-testing = { module = "com.google.dagger:hilt-android-testing", version.ref = "hilt" } -junit = { group = "junit", name = "junit", version.ref = "junit" } -kotlinx-coroutines-android = { group = "org.jetbrains.kotlinx", name ="kotlinx-coroutines-android", version.ref = "coroutines" } -kotlinx-coroutines-test = { group = "org.jetbrains.kotlinx", name ="kotlinx-coroutines-test", version.ref = "coroutines" } -material = { group = "com.google.android.material", name = "material", version.ref = "material" } +junit = { module = "junit:junit", version.ref = "junit" } +kotlinx-coroutines-test = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-test", version.ref = "coroutines" } mockito-core = { module = "org.mockito:mockito-core", version.ref = "mockitoCore" } okhttp-interceptor = { module = "com.squareup.okhttp3:logging-interceptor", version.ref = "okHttp" } -retrofit = { group = "com.squareup.retrofit2", name = "retrofit", version.ref = "retrofit" } +retrofit = { module = "com.squareup.retrofit2:retrofit", version.ref = "retrofit" } retrofit-gson = { module = "com.squareup.retrofit2:converter-gson", version.ref = "retrofit" } timber = { module = "com.jakewharton.timber:timber", version.ref = "timber" } @@ -76,4 +70,4 @@ kotlinter = { id = "org.jmailen.kotlinter", version.ref = "kotlinter" } kover = { id = "org.jetbrains.kotlinx.kover", version.ref = "kover" } ksp = { id = "com.google.devtools.ksp", version.ref = "ksp" } versionCatalogUpdate = { id = "nl.littlerobots.version-catalog-update", version.ref = "versionCatalog" } -versionsBenManes = { id = "com.github.ben-manes.versions", version.ref = "versionsBenManes" } \ No newline at end of file +versionsBenManes = { id = "com.github.ben-manes.versions", version.ref = "versionsBenManes" }