forked from getodk/collect
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
67 lines (53 loc) · 1.89 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
65
66
67
import dependencies.Dependencies
import dependencies.Versions
plugins {
id("com.android.library")
id("kotlin-android")
id("kotlin-kapt")
}
apply(from = "../config/quality.gradle")
android {
namespace = "org.odk.collect.selfiecamera"
compileSdk = Versions.android_compile_sdk
defaultConfig {
minSdk = Versions.android_min_sdk
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles("consumer-rules.pro")
}
buildTypes {
release {
isMinifyEnabled = false
}
}
compileOptions {
isCoreLibraryDesugaringEnabled = true
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
testOptions {
unitTests {
isIncludeAndroidResources = true
}
}
}
dependencies {
coreLibraryDesugaring(Dependencies.desugar)
implementation(project(":androidshared"))
implementation(project(":strings"))
implementation(project(":permissions"))
implementation(project(":external-app"))
implementation(project(":analytics"))
implementation(Dependencies.camerax_core)
implementation(Dependencies.camerax_view)
implementation(Dependencies.camerax_lifecycle)
implementation(Dependencies.camerax_video)
implementation(Dependencies.camerax_camera2)
implementation("com.google.guava:guava:33.0.0-android") // Guava is a dependency required by CameraX. It shouldn't be used in any other context and should be removed when no longer necessary.
implementation(Dependencies.dagger)
kapt(Dependencies.dagger_compiler)
testImplementation(project(":androidtest"))
testImplementation(Dependencies.androidx_test_ext_junit)
testImplementation(Dependencies.robolectric)
testImplementation(Dependencies.hamcrest)
testImplementation(Dependencies.androidx_test_espresso_core)
}