diff --git a/android/engine/build.gradle.kts b/android/engine/build.gradle.kts index 018945e457..753fbae6ce 100644 --- a/android/engine/build.gradle.kts +++ b/android/engine/build.gradle.kts @@ -145,6 +145,7 @@ dependencies { implementation(libs.dagger.hilt.android) implementation(libs.hilt.work) implementation(libs.slf4j.nop) + implementation(libs.fhir.sdk.common) api(libs.bundles.datastore.kt) api(libs.bundles.navigation) @@ -210,6 +211,7 @@ dependencies { api(libs.fhir.engine) { isTransitive = true exclude(group = "com.github.ben-manes.caffeine") + exclude(group = "com.google.android.fhir", module = "common") } // Annotation processors diff --git a/android/gradle/libs.versions.toml b/android/gradle/libs.versions.toml index 73f98b8d69..a0127deac9 100644 --- a/android/gradle/libs.versions.toml +++ b/android/gradle/libs.versions.toml @@ -24,6 +24,7 @@ desugar-jdk-libs = "2.1.3" dokkaBase = "1.9.20" easyRulesCore = "4.1.1-SNAPSHOT" espresso-core = "3.6.1" +fhir-sdk-common = "0.1.0-alpha05-preview3-SNAPSHOT" fhir-sdk-contrib-barcode = "0.1.0-beta3-preview7-rc1-SNAPSHOT" fhir-sdk-contrib-locationwidget = "0.1.0-alpha01-preview2-rc1-SNAPSHOT" fhir-sdk-data-capture = "1.2.0-preview4-SNAPSHOT" @@ -122,6 +123,7 @@ easy-rules-jexl = { group = "org.smartregister", name = "easy-rules-jexl", vers espresso-core = { group = "androidx.test.espresso", name = "espresso-core", version.ref = "espresso-core" } fhir-common-utils = { group = "org.smartregister", name = "fhir-common-utils", version.ref = "common-utils" } fhir-engine = { group = "org.smartregister", name = "engine", version.ref = "fhir-sdk-engine" } +fhir-sdk-common = { group = "org.smartregister", name = "common", version.ref = "fhir-sdk-common" } foundation = { group = "androidx.compose.foundation", name = "foundation", version.ref = "compose-ui" } fragment-ktx = { group = "androidx.fragment", name = "fragment-ktx", version.ref = "fragment-ktx" } fragment-testing = { group = "androidx.fragment", name = "fragment-testing", version.ref = "fragment-ktx" }