-
Notifications
You must be signed in to change notification settings - Fork 41
/
module.gradle
48 lines (40 loc) · 1.24 KB
/
module.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
apply plugin: 'com.android.library'
apply plugin: 'com.vc.constant'
android {
compileSdkVersion SDK_VERSION.compileSdkVersion
defaultConfig {
minSdkVersion SDK_VERSION.minSdkVersion
targetSdkVersion SDK_VERSION.targetSdkVersion
versionCode active.versionCode
versionName active.versionName
javaCompileOptions {
annotationProcessorOptions {
arguments = [AROUTER_MODULE_NAME: project.getName()]
}
}
ndk {
abiFilters 'armeabi', 'armeabi-v7a'
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
buildFeatures {
dataBinding = true
}
compileOptions {
sourceCompatibility = 1.8
targetCompatibility = 1.8
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
annotationProcessor 'com.alibaba:arouter-compiler:1.2.1'
api project(path: ':common')
}