forked from getodk/collect
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
68 lines (54 loc) · 1.71 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
68
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
targetSdk = Versions.android_target_sdk
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles("consumer-rules.pro")
}
buildTypes {
release {
isMinifyEnabled = false
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = "1.8"
}
testOptions {
unitTests {
isIncludeAndroidResources = true
}
}
}
dependencies {
implementation(project(":androidshared"))
implementation(project(":strings"))
implementation(project(":permissions"))
implementation(project(":externalapp"))
implementation(project(":analytics"))
implementation(Dependencies.camerax_core)
implementation(Dependencies.camerax_view)
implementation(Dependencies.camerax_lifecycle)
implementation(Dependencies.camerax_video)
implementation(Dependencies.camerax_camera2)
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)
}