forked from jenly1314/MLKit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
67 lines (56 loc) · 1.99 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
plugins {
id 'com.android.application'
id 'kotlin-android'
}
android {
namespace 'com.king.mlkit.vision.app'
compileSdk build_versions.compileSdk
defaultConfig {
applicationId "com.king.mlkit.vision.app"
minSdk build_versions.minSdk
targetSdk build_versions.targetSdk
versionCode app_version.versionCode
versionName app_version.versionName
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
ndk {
//设置支持的 SO 库架构(开发者可以根据需要,选择一个或多个平台的so)
abiFilters 'armeabi-v7a' // , 'arm64-v8a', 'x86', 'x86_64'
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
}
kotlinOptions {
jvmTarget = JavaVersion.VERSION_11.toString()
}
lint {
abortOnError false
}
}
dependencies {
testImplementation deps.test.junit
androidTestImplementation deps.test.android_ext_junit
androidTestImplementation deps.test.espresso
implementation deps.androidx.material
implementation deps.androidx.appcompat
implementation deps.androidx.constraintlayout
implementation deps.corektx
implementation deps.app_dialog
implementation project(':mlkit-common')
implementation project(':mlkit-barcode-scanning')
implementation project(':mlkit-face-detection')
implementation project(':mlkit-face-mesh-detection')
implementation project(':mlkit-image-labeling')
implementation project(':mlkit-object-detection')
implementation project(':mlkit-pose-detection')
implementation project(':mlkit-pose-detection-accurate')
implementation project(':mlkit-segmentation-selfie')
implementation project(':mlkit-text-recognition')
}