Gradle catalog: do not use version.ref if there is only one module which use it.
This commit is contained in:
@@ -6,19 +6,15 @@
|
||||
android_gradle_plugin = "8.1.3"
|
||||
kotlin = "1.9.20"
|
||||
ksp = "1.9.20-1.0.14"
|
||||
molecule = "1.3.0"
|
||||
|
||||
# AndroidX
|
||||
core = "1.12.0"
|
||||
datastore = "1.0.0"
|
||||
constraintlayout = "2.1.4"
|
||||
constraintlayout_compose = "1.0.1"
|
||||
recyclerview = "1.3.2"
|
||||
lifecycle = "2.7.0-beta01"
|
||||
activity = "1.8.0"
|
||||
startup = "1.1.1"
|
||||
media3 = "1.1.1"
|
||||
browser = "1.6.0"
|
||||
|
||||
# Compose
|
||||
compose_bom = "2023.10.01"
|
||||
@@ -38,13 +34,8 @@ coil = "2.5.0"
|
||||
datetime = "0.4.1"
|
||||
serialization_json = "1.6.0"
|
||||
showkase = "1.0.2"
|
||||
jsoup = "1.16.2"
|
||||
appyx = "1.4.0"
|
||||
dependencycheck = "8.4.2"
|
||||
dependencyanalysis = "1.25.0"
|
||||
stem = "2.3.0"
|
||||
sqldelight = "2.0.0"
|
||||
telephoto = "0.6.2"
|
||||
wysiwyg = "2.16.0"
|
||||
|
||||
# DI
|
||||
@@ -55,12 +46,9 @@ anvil = "2.4.8-1-8"
|
||||
autoservice = "1.1.1"
|
||||
|
||||
# quality
|
||||
detekt = "1.23.3"
|
||||
dependencygraph = "0.12"
|
||||
junit = "4.13.2"
|
||||
androidx-test-ext-junit = "1.1.5"
|
||||
espresso-core = "3.5.1"
|
||||
appcompat = "1.6.1"
|
||||
|
||||
[libraries]
|
||||
# Project
|
||||
@@ -82,8 +70,8 @@ androidx_exifinterface = "androidx.exifinterface:exifinterface:1.3.6"
|
||||
androidx_constraintlayout = { module = "androidx.constraintlayout:constraintlayout", version.ref = "constraintlayout" }
|
||||
androidx_constraintlayout_compose = { module = "androidx.constraintlayout:constraintlayout-compose", version.ref = "constraintlayout_compose" }
|
||||
|
||||
androidx_recyclerview = { module = "androidx.recyclerview:recyclerview", version.ref = "recyclerview" }
|
||||
androidx_browser = { module = "androidx.browser:browser", version.ref = "browser" }
|
||||
androidx_recyclerview = "androidx.recyclerview:recyclerview:1.3.2"
|
||||
androidx_browser = "androidx.browser:browser:1.6.0"
|
||||
androidx_lifecycle_runtime = { module = "androidx.lifecycle:lifecycle-runtime-ktx", version.ref = "lifecycle" }
|
||||
androidx_lifecycle_process = { module = "androidx.lifecycle:lifecycle-process", version.ref = "lifecycle" }
|
||||
androidx_splash = "androidx.core:core-splashscreen:1.0.1"
|
||||
@@ -94,11 +82,11 @@ androidx_biometric = "androidx.biometric:biometric-ktx:1.2.0-alpha05"
|
||||
|
||||
androidx_activity_activity = { module = "androidx.activity:activity", version.ref = "activity" }
|
||||
androidx_activity_compose = { module = "androidx.activity:activity-compose", version.ref = "activity" }
|
||||
androidx_startup = { module = "androidx.startup:startup-runtime", version.ref = "startup" }
|
||||
androidx_startup = "androidx.startup:startup-runtime:1.1.1"
|
||||
androidx_preference = "androidx.preference:preference:1.2.1"
|
||||
androidx_webkit = "androidx.webkit:webkit:1.8.0"
|
||||
|
||||
androidx_compose_bom = { group = "androidx.compose", name = "compose-bom", version.ref = "compose_bom" }
|
||||
androidx_compose_bom = { module = "androidx.compose:compose-bom", version.ref = "compose_bom" }
|
||||
androidx_compose_material3 = "androidx.compose.material3:material3:1.2.0-alpha10"
|
||||
|
||||
# Coroutines
|
||||
@@ -146,9 +134,9 @@ datetime = { module = "org.jetbrains.kotlinx:kotlinx-datetime", version.ref = "d
|
||||
serialization_json = { module = "org.jetbrains.kotlinx:kotlinx-serialization-json", version.ref = "serialization_json" }
|
||||
showkase = { module = "com.airbnb.android:showkase", version.ref = "showkase" }
|
||||
showkase_processor = { module = "com.airbnb.android:showkase-processor", version.ref = "showkase" }
|
||||
jsoup = { module = "org.jsoup:jsoup", version.ref = "jsoup" }
|
||||
jsoup = "org.jsoup:jsoup:1.16.2"
|
||||
appyx_core = { module = "com.bumble.appyx:core", version.ref = "appyx" }
|
||||
molecule-runtime = { module = "app.cash.molecule:molecule-runtime", version.ref = "molecule" }
|
||||
molecule-runtime = "app.cash.molecule:molecule-runtime:1.3.0"
|
||||
timber = "com.jakewharton.timber:timber:5.0.1"
|
||||
matrix_sdk = "org.matrix.rustcomponents:sdk-android:0.1.67"
|
||||
matrix_richtexteditor = { module = "io.element.android:wysiwyg", version.ref = "wysiwyg" }
|
||||
@@ -161,7 +149,7 @@ sqlite = "androidx.sqlite:sqlite-ktx:2.4.0"
|
||||
unifiedpush = "com.github.UnifiedPush:android-connector:2.1.1"
|
||||
otaliastudios_transcoder = "com.otaliastudios:transcoder:0.10.5"
|
||||
vanniktech_blurhash = "com.vanniktech:blurhash:0.1.0"
|
||||
telephoto_zoomableimage = { module = "me.saket.telephoto:zoomable-image-coil", version.ref = "telephoto" }
|
||||
telephoto_zoomableimage = "me.saket.telephoto:zoomable-image-coil:0.6.2"
|
||||
statemachine = "com.freeletics.flowredux:compose:1.2.0"
|
||||
maplibre = "org.maplibre.gl:android-sdk:10.2.0"
|
||||
maplibre_ktx = "org.maplibre.gl:android-sdk-ktx-v7:2.0.2"
|
||||
@@ -195,7 +183,7 @@ android_composeCompiler = { module = "androidx.compose.compiler:compiler", versi
|
||||
junit = { group = "junit", name = "junit", version.ref = "junit" }
|
||||
androidx-test-ext-junit = { group = "androidx.test.ext", name = "junit", version.ref = "androidx-test-ext-junit" }
|
||||
espresso-core = { group = "androidx.test.espresso", name = "espresso-core", version.ref = "espresso-core" }
|
||||
appcompat = { group = "androidx.appcompat", name = "appcompat", version.ref = "appcompat" }
|
||||
appcompat = "androidx.appcompat:appcompat:1.6.1"
|
||||
|
||||
[bundles]
|
||||
|
||||
@@ -208,11 +196,11 @@ kotlin_serialization = { id = "org.jetbrains.kotlin.plugin.serialization", versi
|
||||
kapt = { id = "org.jetbrains.kotlin.kapt", version.ref = "kotlin" }
|
||||
ksp = { id = "com.google.devtools.ksp", version.ref = "ksp" }
|
||||
anvil = { id = "com.squareup.anvil", version.ref = "anvil" }
|
||||
detekt = { id = "io.gitlab.arturbosch.detekt", version.ref = "detekt" }
|
||||
detekt = "io.gitlab.arturbosch.detekt:1.23.3"
|
||||
ktlint = "org.jlleitschuh.gradle.ktlint:11.6.1"
|
||||
dependencygraph = { id = "com.savvasdalkitsis.module-dependency-graph", version.ref = "dependencygraph" }
|
||||
dependencycheck = { id = "org.owasp.dependencycheck", version.ref = "dependencycheck" }
|
||||
dependencyanalysis = { id = "com.autonomousapps.dependency-analysis", version.ref = "dependencyanalysis" }
|
||||
dependencygraph = "com.savvasdalkitsis.module-dependency-graph:0.12"
|
||||
dependencycheck = "org.owasp.dependencycheck:8.4.2"
|
||||
dependencyanalysis = "com.autonomousapps.dependency-analysis:1.25.0"
|
||||
paparazzi = "app.cash.paparazzi:1.3.1"
|
||||
kover = "org.jetbrains.kotlinx.kover:0.6.1"
|
||||
sqldelight = { id = "app.cash.sqldelight", version.ref = "sqldelight" }
|
||||
|
||||
Reference in New Issue
Block a user