forked from alibaba/ARouter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
48 lines (39 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
apply plugin: 'com.android.library'
ext {
bintrayName = 'arouter-api'
artifact = bintrayName
libraryName = 'ARouter sdk'
libraryDescription = 'A router for android'
libraryVersion = arouter_main_version
}
android {
compileSdkVersion Integer.parseInt(COMPILE_SDK_VERSION)
buildToolsVersion BUILDTOOLS_VERSION
defaultConfig {
minSdkVersion Integer.parseInt(MIN_SDK_VERSION)
targetSdkVersion Integer.parseInt(TARGET_SDK_VERSION)
javaCompileOptions {
annotationProcessorOptions {
arguments = [AROUTER_MODULE_NAME: project.getName()]
}
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
}
buildTypes {
release {
debuggable false
minifyEnabled false
}
lintOptions { abortOnError false }
}
}
dependencies {
annotationProcessor 'com.alibaba:arouter-compiler:1.2.0'
api 'com.alibaba:arouter-annotation:1.0.6'
implementation "com.android.support:support-v4:${SUPPORT_LIB_VERSION}"
}
apply from: '../install.gradle'
apply from: '../bintray.gradle'