Skip to content

Commit

Permalink
Introduce Version Catalog, initially intentionally only for Glide (see
Browse files Browse the repository at this point in the history
  • Loading branch information
vorburger committed Oct 26, 2023
1 parent 0141ae2 commit 9076d0d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
8 changes: 0 additions & 8 deletions buildSrc/src/main/kotlin/Dependencies.kt
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,6 @@ object Dependencies {
"org.opencds.cqf.fhir:cqf-fhir-utility:${Versions.Cql.clinicalReasoning}"
}

object Glide {
const val glide = "com.github.bumptech.glide:glide:${Versions.Glide.glide}"
}

object HapiFhir {
const val fhirBase = "ca.uhn.hapi.fhir:hapi-fhir-base:${Versions.hapiFhir}"
const val fhirClient = "ca.uhn.hapi.fhir:hapi-fhir-client:${Versions.hapiFhir}"
Expand Down Expand Up @@ -218,10 +214,6 @@ object Dependencies {
const val clinicalReasoning = "3.0.0-PRE9-SNAPSHOT"
}

object Glide {
const val glide = "4.14.2"
}

object Kotlin {
const val kotlinCoroutinesCore = "1.7.2"
const val stdlib = "1.8.20"
Expand Down
2 changes: 1 addition & 1 deletion datacapture/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ dependencies {
implementation(Dependencies.Androidx.constraintLayout)
implementation(Dependencies.Androidx.coreKtx)
implementation(Dependencies.Androidx.fragmentKtx)
implementation(Dependencies.Glide.glide)
implementation(libs.glide)
implementation(Dependencies.HapiFhir.guavaCaching)
implementation(Dependencies.HapiFhir.validation) {
exclude(module = "commons-logging")
Expand Down
11 changes: 11 additions & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# see https://docs.gradle.org/current/userguide/platforms.html

[versions]
glide = "4.14.2"

[libraries]
glide = { module = "com.github.bumptech.glide:glide", version.ref = "glide" }

[bundles]

[plugins]

0 comments on commit 9076d0d

Please sign in to comment.