-
Notifications
You must be signed in to change notification settings - Fork 19
/
module.gradle
33 lines (28 loc) · 966 Bytes
/
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
apply plugin: 'com.android.library'
apply plugin: 'com.jakewharton.butterknife'
android {
compileSdkVersion projectConfig.compileSdkVersion
defaultConfig {
minSdkVersion projectConfig.minSdkVersion
targetSdkVersion projectConfig.targetSdkVersion
versionCode projectConfig.versionCode
versionName projectConfig.versionName
javaCompileOptions {
annotationProcessorOptions {
arguments = [AROUTER_MODULE_NAME: project.getName()]
}
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
annotationProcessor 'com.jakewharton:butterknife-compiler:10.1.0'
annotationProcessor 'com.alibaba:arouter-compiler:1.2.1'
api project(path: ':common')
}