-
Notifications
You must be signed in to change notification settings - Fork 0
/
comm_module_gradle.txt
47 lines (42 loc) · 1.51 KB
/
comm_module_gradle.txt
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
apply plugin: 'com.android.library'
def config = rootProject.ext //配置
def librarys = rootProject.ext.dependencies //依赖
android {
compileSdkVersion config.compileSdkVersion
buildToolsVersion config.buildToolsVersion
defaultConfig {
minSdkVersion config.minSdkVersion
targetSdkVersion config.targetSdkVersion
versionCode config.versionCode
versionName config.versionName
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
testCompile 'junit:junit:4.12'
//common url
implementation librarys.design
implementation librarys.appcompatV7
implementation librarys.supportannotations
implementation librarys.recyclerviewv7
implementation librarys.cardviewv7
implementation librarys.glide37
implementation librarys.fastJson
implementation librarys.gsonJson
//common aar
implementation project(':baselibrary')
implementation(name: 'libglide37', ext: 'aar')
implementation(name: 'libutils', ext: 'aar')
implementation(name: 'libmvp', ext: 'aar')
implementation(name: 'libretrofit', ext: 'aar')
/**rep*/implementation(name: 'biz-demo1_env_ol', ext: 'aar')
}