forked from alibaba/ARouter
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
36 lines (29 loc) · 1003 Bytes
/
build.gradle
File metadata and controls
36 lines (29 loc) · 1003 Bytes
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
apply plugin: 'com.android.library'
dependencies {
implementation project(':arouter-annotation')
implementation project(':arouter-api')
annotationProcessor project(':arouter-compiler')
implementation project(':module-java-export')
implementation 'androidx.appcompat:appcompat:1.4.1'
implementation 'com.alibaba:fastjson:1.2.69'
}
android {
compileSdkVersion Integer.parseInt(COMPILE_SDK_VERSION)
defaultConfig {
minSdkVersion Integer.parseInt(MIN_SDK_VERSION)
targetSdkVersion Integer.parseInt(TARGET_SDK_VERSION)
javaCompileOptions {
annotationProcessorOptions {
arguments = [AROUTER_MODULE_NAME: project.getName(), AROUTER_GENERATE_DOC: "enable"]
}
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
lint {
abortOnError false
}
namespace 'com.alibaba.android.arouter.demo.module1'
}