-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdependency.gradle
76 lines (63 loc) · 2.93 KB
/
dependency.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
def supportVersion = '26.1.0'
def leakCanaryVersion = "1.4-beta2"
def blockCanaryVersion = '1.1.4'
def retrofitVersion = '1.9.0'
def glideVersion = '3.7.0'
def gsonVersion = '2.7'
def okHttpVersion = '3.4.1'
def litepalVersion = '1.3.2'
project.ext {
applicationId = "com.sync.androidsamples"
buildToolsVersion = "26.0.2"
compileSdkVersion = 26
minSdkVersion = 16
targetSdkVersion = 26
versionCode = 1
versionName = "1.0.0"
junitVersion = "4.12"
abortOnLintError = false
checkLintRelease = false
useJack = false
abortOnLintError = false
javaVersion = JavaVersion.VERSION_1_8
libSupportAppcompat = "com.android.support:appcompat-v7:${supportVersion}"
libSupportCardView = "com.android.support:cardview-v7:${supportVersion}"
libSupportDesign = "com.android.support:design:${supportVersion}"
libSupportRecyclerview = "com.android.support:recyclerview-v7:${supportVersion}"
libSupportV4 = "com.android.support:support-v4:${supportVersion}"
libSupportV13 = "com.android.support:support-v13:${supportVersion}"
libSupportAnnotations = "com.android.support:support-annotations:${supportVersion}"
libConstraintLayout = "com.android.support.constraint:constraint-layout:${supportVersion}"
/**
* external package*/
libRetrofit2 = "com.squareup.retrofit2:retrofit:${retrofitVersion}"
libRetrofit = "com.squareup.retrofit:retrofit:${retrofitVersion}"
libGlide = "com.github.bumptech.glide:glide:${glideVersion}"
libGson = "com.google.code.gson:gson:${gsonVersion}"
libOkHttp = "com.squareup.okhttp3:okhttp:${okHttpVersion}"
libLitepal = "org.litepal.android:core:${litepalVersion}"
/*20170304*/
libRxAndroid = "io.reactivex:rxandroid:1.2.0"
libRetrofit = "com.jakewharton.retrofit:retrofit1-okhttp3-client:1.1.0"
libBottomNavigation = "com.aurelhubert:ahbottomnavigation:1.3.3"
libProgressbar = "me.zhanghai.android.materialprogressbar:library:1.3.0"
libPhotoView = "com.github.chrisbanes:PhotoView:1.3.1"
daggers = [dagger : "com.google.dagger:dagger:2.15",
daggercompiler: "com.google.dagger:dagger-compiler:2.15",
provided : "org.glassfish:javax.annotation:10.0-b28"]
butterknifes = [
butterknife : "com.jakewharton:butterknife:8.8.1",
butterknifecompiler: "com.jakewharton:butterknife-annotations:8.8.1"
]
/**
* leakCanary:A memory leak detection library for Android and Java.
* leakCanary:https://github.com/square/leakcanary
* blockcanary:AndroidPerformanceMonitor
* blockcanary: https://github.com/markzhai/AndroidPerformanceMonitor*/
debugDependencies =
[leakCanary : "com.squareup.leakcanary:leakcanary-android:${leakCanaryVersion}",
blockcanary: "com.github.moduth:blockcanary-ui:${blockCanaryVersion}",]
releaseDependencies =
[leakCanary : "com.squareup.leakcanary:leakcanary-android-no-op:${leakCanaryVersion}",
blockcanary: "com.github.moduth:blockcanary-no-op:${blockCanaryVersion}",]
}