Skip to content

Commit

Permalink
Extract dependencies to version catalog
Browse files Browse the repository at this point in the history
  • Loading branch information
vishnuravi committed May 27, 2024
1 parent e5f2b78 commit 3320580
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
4 changes: 4 additions & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@ androidTools = "31.4.0"
appcompat = "1.6.1"
compileSdk = "34"
composeBom = "2024.05.00"
healthConnectClient = "1.1.0-alpha02"
coreKtx = "1.13.1"
coreTestingVersion = "2.2.0"
coroutinesVersion = "1.8.0"
fhirDataCapture = "1.0.0"
dokka = "1.9.20"
espressoCore = "3.5.1"
hiltNavigation = "1.2.0"
Expand All @@ -31,9 +33,11 @@ android-gradle = { group = "com.android.tools.build", name = "gradle", version.r
android-tools-common = { group = "com.android.tools", name = "common", version.ref = "androidTools" }
androidx-activity-compose = { group = "androidx.activity", name = "activity-compose", version.ref = "activityCompose" }
androidx-appcompat = { group = "androidx.appcompat", name = "appcompat", version.ref = "appcompat" }
androidx-health-connect-client = { module = "androidx.health.connect:connect-client", version.ref = "healthConnectClient" }
androidx-core-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "coreKtx" }
androidx-core-testing = { group = "androidx.arch.core", name = "core-testing", version.ref = "coreTestingVersion" }
androidx-espresso-core = { group = "androidx.test.espresso", name = "espresso-core", version.ref = "espressoCore" }
android-fhir-data-capture = { module = "com.google.android.fhir:data-capture", version.ref = "fhirDataCapture" }
androidx-junit = { group = "androidx.test.ext", name = "junit", version.ref = "junitVersion" }
androidx-lifecycle-runtime-ktx = { group = "androidx.lifecycle", name = "lifecycle-runtime-ktx", version.ref = "lifecycleKtx" }
androidx-lifecycle-view-model-ktx = { group = "androidx.lifecycle", name = "lifecycle-viewmodel-ktx", version.ref = "lifecycleKtx" }
Expand Down
7 changes: 2 additions & 5 deletions modules/healthconnectonfhir/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ android {
}

dependencies {
implementation("androidx.health.connect:connect-client:1.1.0-alpha02")
implementation("com.google.android.fhir:data-capture:1.0.0")

implementation(project(":core:utils"))
implementation(project(":core:coroutines"))
implementation(libs.androidx.health.connect.client)
implementation(libs.android.fhir.data.capture)
}

0 comments on commit 3320580

Please sign in to comment.