-
Notifications
You must be signed in to change notification settings - Fork 250
/
build.gradle.kts
64 lines (54 loc) · 1.87 KB
/
build.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
plugins {
id(Plugins.BuildPlugins.application)
id(Plugins.BuildPlugins.kotlinAndroid)
id(Plugins.BuildPlugins.navSafeArgs)
}
configureRuler()
android {
namespace = "com.google.android.fhir.catalog"
compileSdk = Sdk.compileSdk
defaultConfig {
applicationId = Releases.Catalog.applicationId
minSdk = Sdk.minSdk
targetSdk = Sdk.targetSdk
versionCode = Releases.Catalog.versionCode
versionName = Releases.Catalog.versionName
testInstrumentationRunner = Dependencies.androidJunitRunner
}
buildFeatures { viewBinding = true }
buildTypes {
release {
isMinifyEnabled = false
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"))
}
}
compileOptions {
// Flag to enable support for the new language APIs
// See https://developer.android.com/studio/write/java8-support
isCoreLibraryDesugaringEnabled = true
}
packaging {
resources.excludes.addAll(
listOf("META-INF/ASL2.0", "META-INF/ASL-2.0.txt", "META-INF/LGPL-3.0.txt"),
)
}
kotlin { jvmToolchain(11) }
}
dependencies {
androidTestImplementation(Dependencies.AndroidxTest.extJunit)
androidTestImplementation(Dependencies.Espresso.espressoCore)
coreLibraryDesugaring(Dependencies.desugarJdkLibs)
implementation(Dependencies.Androidx.appCompat)
implementation(Dependencies.Androidx.constraintLayout)
implementation(Dependencies.Androidx.coreKtx)
implementation(Dependencies.Androidx.fragmentKtx)
implementation(Dependencies.material)
implementation(Dependencies.Kotlin.stdlib)
implementation(Dependencies.Navigation.navFragmentKtx)
implementation(Dependencies.Navigation.navUiKtx)
implementation(project(path = ":datacapture"))
implementation(project(path = ":engine"))
implementation(project(path = ":contrib:barcode"))
implementation(project(path = ":contrib:locationwidget"))
testImplementation(Dependencies.junit)
}