-
Notifications
You must be signed in to change notification settings - Fork 169
/
build.gradle
48 lines (40 loc) · 1.17 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
plugins {
id 'com.android.library'
id 'org.jetbrains.kotlin.android'
id 'org.jetbrains.dokka'
id 'com.vanniktech.maven.publish'
}
android {
namespace 'com.king.mlkit.vision.image'
compileSdk build_versions.compileSdk
defaultConfig {
minSdk build_versions.minSdk
targetSdk build_versions.targetSdk
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles "consumer-rules.pro"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = JavaVersion.VERSION_1_8.toString()
}
lint {
abortOnError false
}
}
dependencies {
testImplementation deps.test.junit
androidTestImplementation deps.test.android_ext_junit
androidTestImplementation deps.test.espresso
compileOnly deps.androidx.appcompat
api deps.google_mlkit_image_labeling
compileOnly project(':mlkit-common')
}