forked from getodk/collect
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
54 lines (43 loc) · 1.62 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
import dependencies.Dependencies
import dependencies.Versions
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
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
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
coreLibraryDesugaringEnabled true
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
lintOptions {
// There is a crash caused by this https://issuetracker.google.com/issues/151177986
disable "InvalidPeriodicWorkRequestInterval"
}
}
dependencies {
coreLibraryDesugaring Dependencies.desugar
implementation fileTree(dir: "libs", include: ["*.jar"])
implementation Dependencies.kotlin_stdlib
implementation Dependencies.androidx_core_ktx
implementation Dependencies.kotlinx_coroutines_android
implementation Dependencies.androidx_work_runtime
testImplementation Dependencies.hamcrest
testImplementation Dependencies.robolectric
testImplementation Dependencies.androidx_test_ext_junit
testImplementation Dependencies.androidx_work_testing
testImplementation Dependencies.mockito_kotlin
}