-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
96 lines (85 loc) · 3.66 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
// Top-level build file where you can add configuration options common to all sub-projects/modules.
apply plugin: 'com.alibaba.arouter'
buildscript {
repositories {
maven {
url 'https://maven.google.com/'
name 'Google'
}
// google()
jcenter()
mavenLocal()
mavenCentral()
maven { url "https://jitpack.io" }
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.1'
classpath 'com.meituan.android.walle:plugin:1.1.3'
// classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
classpath 'com.alibaba:arouter-register:1.0.0'
}
}
/*apt {
arguments {
moduleName project.getName();
}
}*/
allprojects {
repositories {
// google()
jcenter()
mavenLocal()
google()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
ext {
supportLibrary = "27.0.2"
supportDependencies = [
supportv4 : "com.android.support:support-v4:${supportLibrary}",
appCompat : "com.android.support:appcompat-v7:${supportLibrary}",
recyclerview : "com.android.support:recyclerview-v7:${supportLibrary}",
design : "com.android.support:design:${supportLibrary}",
annotations : "com.android.support:support-annotations:${supportLibrary}",
constraint : "com.android.support.constraint:constraint-layout:1.0.2",
multidex : "com.android.support:multidex:1.0.1",
test : "junit:junit:4.12",
androidTestrunner : "com.android.support.test:runner:1.0.1",
androidTestespresso: "com.android.support.test.espresso:espresso-core:3.0.1",
]
thirdDependencies = [
rxjava : "io.reactivex.rxjava2:rxjava:2.1.10",
rxandroid : "io.reactivex.rxjava2:rxandroid:2.0.2",
rxbinding : "com.jakewharton.rxbinding2:rxbinding:2.0.0",
okhttp : "com.squareup.okhttp3:okhttp:3.10.0",
retrofit : "com.squareup.retrofit2:retrofit:2.4.0",
gsonConverter : "com.squareup.retrofit2:converter-gson:2.4.0",
rxjavaAdapter : "com.squareup.retrofit2:adapter-rxjava2:2.4.0",
loggingInterceptor : "com.squareup.okhttp3:logging-interceptor:3.10.0",
cardview : "com.android.support:cardview-v7:26.1.0",
glide : "com.github.bumptech.glide:glide:4.1.1",
glide_compiler : "com.github.bumptech.glide:compiler:4.1.1",
arouter : "com.alibaba:arouter-api:1.2.4",
arouter_compiler : "com.alibaba:arouter-compiler:1.1.4",
butterknife : "com.jakewharton:butterknife:8.8.1",
butterknife_compiler: "com.jakewharton:butterknife-compiler:8.8.1",
CymChad : "com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.36",
zxing : "com.google.zxing:core:3.3.2",
bugly : "com.tencent.bugly:crashreport:latest.release",
walle : "com.meituan.android.walle:library:1.1.3",
bugly : "com.tencent.bugly:crashreport:latest.release",
gson : "com.google.code.gson:gson:2.8.1",
]
app = [
compileSdkVersion: 27,
buildToolsVersion: "27.0.2",
minSdkVersion : 19,
targetSdkVersion : 23,
versionCode : 1,
versionName : "1.0",
applicationId : "com.laiyifen"
]
}