Skip to content

Commit

Permalink
Merge branch 'master' into ak/978-auto-complete-widget-rewrite
Browse files Browse the repository at this point in the history
  • Loading branch information
aditya-07 authored Jun 27, 2022
2 parents ea0fd6d + e331b97 commit 85a114d
Show file tree
Hide file tree
Showing 137 changed files with 2,755 additions and 787 deletions.
8 changes: 7 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,13 @@ allprojects {
configureSpotless()
}

subprojects { configureLicensee() }
subprojects {
// We have some empty folders like the :contrib root folder, which Gradle recognizes as projects.
// Don't configure plugins for those folders.
if (project.buildFile.exists()) {
configureLicensee()
}
}

// Create a CI repository and also change versions to include the build number
afterEvaluate {
Expand Down
13 changes: 9 additions & 4 deletions buildSrc/src/main/kotlin/Dependencies.kt
Original file line number Diff line number Diff line change
Expand Up @@ -92,13 +92,18 @@ object Dependencies {
const val runtime = "androidx.room:room-runtime:${Versions.Androidx.room}"
}

object Mlkit {
const val barcodeScanning =
"com.google.mlkit:barcode-scanning:${Versions.Mlkit.barcodeScanning}"
const val objectDetection =
"com.google.mlkit:object-detection:${Versions.Mlkit.objectDetection}"
const val objectDetectionCustom =
"com.google.mlkit:object-detection-custom:${Versions.Mlkit.objectDetectionCustom}"
}

const val androidFhirCommon = "com.google.android.fhir:common:${Versions.androidFhirCommon}"
const val barcodeScanning = "com.google.mlkit:barcode-scanning:${Versions.Mlkit.barcodeScanning}"
const val lifecycleExtensions =
"androidx.lifecycle:lifecycle-extensions:${Versions.Androidx.lifecycle}"
const val objectDetection = "com.google.mlkit:object-detection:${Versions.Mlkit.objectDetection}"
const val objectDetectionCustom =
"com.google.mlkit:object-detection-custom:${Versions.Mlkit.objectDetectionCustom}"
const val desugarJdkLibs = "com.android.tools:desugar_jdk_libs:${Versions.desugarJdkLibs}"
const val fhirUcum = "org.fhir:ucum:${Versions.fhirUcum}"
const val guava = "com.google.guava:guava:${Versions.guava}"
Expand Down
8 changes: 8 additions & 0 deletions buildSrc/src/main/kotlin/Releases.kt
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,14 @@ object Releases {
override val name = "Android FHIR Workflow Library"
}

object Contrib {
object Barcode : LibraryArtifact {
override val artifactId = "contrib-barcode"
override val version = "0.1.0-beta3"
override val name = "Android FHIR Structured Data Capture - Barcode Extensions (contrib)"
}
}

// Demo apps

object Demo {
Expand Down
1 change: 1 addition & 0 deletions catalog/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ dependencies {
implementation(Dependencies.Navigation.navUiKtx)

implementation(project(path = ":datacapture"))
implementation(project(path = ":contrib:barcode"))

testImplementation(Dependencies.junit)
}
Loading

0 comments on commit 85a114d

Please sign in to comment.