forked from getodk/collect
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
84 lines (71 loc) · 2.42 KB
/
build.gradle
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
import dependencies.Dependencies
import dependencies.Versions
plugins {
id 'com.android.library'
id 'kotlin-android'
id 'kotlin-kapt'
}
apply from: '../config/quality.gradle'
android {
compileSdkVersion Versions.android_compile_sdk
defaultConfig {
minSdkVersion Versions.android_min_sdk
targetSdkVersion Versions.android_target_sdk
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles "consumer-rules.pro"
}
buildTypes {
release {
minifyEnabled false
}
}
compileOptions {
coreLibraryDesugaringEnabled true
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = '1.8'
}
testOptions {
unitTests {
includeAndroidResources = true
}
}
buildFeatures {
viewBinding true
}
namespace 'org.odk.collect.geo'
}
dependencies {
coreLibraryDesugaring Dependencies.desugar
implementation Dependencies.kotlin_stdlib
implementation Dependencies.androidx_appcompat
implementation Dependencies.android_material
implementation Dependencies.timber
implementation Dependencies.play_services_location
implementation Dependencies.dagger
kapt Dependencies.dagger_compiler
implementation Dependencies.androidx_fragment_ktx
implementation project(path: ':shared')
implementation project(path: ':icons')
implementation project(path: ':strings')
implementation project(path: ':location')
implementation project(path: ':androidshared')
implementation project(path: ':externalapp')
implementation project(path: ':async')
implementation project(path: ':analytics')
implementation project(path: ':permissions')
implementation project(path: ':maps')
implementation project(path: ':material')
debugImplementation project(path: ':fragmentstest')
testImplementation project(path: ':androidtest')
testImplementation project(path: ':testshared')
testImplementation Dependencies.junit
testImplementation Dependencies.hamcrest
testImplementation Dependencies.androidx_test_ext_junit
testImplementation Dependencies.mockito_kotlin
testImplementation Dependencies.robolectric
testImplementation Dependencies.androidx_test_espresso_core
testImplementation Dependencies.androidx_arch_core_testing
}