-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
118 lines (101 loc) · 5.91 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.versions = [
'minSdk' : 22,
'compileSdk' : 27,
'buildTools' : '27.0.3',
'supportLibrary' : '27.1.1',
'constraint' : '1.1.2',
'flexbox' : '1.0.0',
'grox' : '1.1.2',
'glide' : '4.7.1',
'glide_transformations': '3.3.0',
'circleimageview' : '2.2.0',
'blurry' : '2.1.1',
'firebase' : '11.8.0',
'firebaseUi' : '3.2.2',
'rx' : '2.1.11',
'rxAndroid' : '2.0.2',
'rxBinding' : '2.0.0',
'rxFirebase' : '1.4.1',
'nyBus' : '1.0.0',
'rxPreference' : '2.0.0',
'retrofit' : '2.3.0',
'okhttp' : '3.9.1',
'stream' : '1.1.5',
'threetenabp' : '1.1.0',
'gson' : '2.7',
'calligraphy' : '3.0.0',
'viewpump' : '1.0.0',
'exoplayer' : '2.8.1',
'junit' : '4.12',
'testRunner' : '1.0.2',
'espresso' : '3.0.2',
'random' : '1.0',
'lombok' : '1.16.20',
'butterknife' : '8.8.1'
]
ext.deps = [
junit : "junit:junit:${versions.junit}",
testrunner : "com.android.support.test:runner:${versions.testRunner}",
espresso : "com.android.support.test.espresso:espresso-core:${versions.espresso}",
random : "com.github.slmyldz:AndroidRandom:${versions.random}",
grox : "com.groupon.grox:grox-core-rx2:${versions.grox}",
grox_command : "com.groupon.grox:grox-commands-rx2:${versions.grox}",
threetenabp : "com.jakewharton.threetenabp:threetenabp:${versions.threetenabp}",
stream : "com.annimon:stream:${versions.stream}",
rxjava : "io.reactivex.rxjava2:rxjava:${versions.rx}",
rxandroid : "io.reactivex.rxjava2:rxjava:${versions.rxAndroid}",
rxbinding : "com.jakewharton.rxbinding2:rxbinding:${versions.rxBinding}",
nybus : "com.mindorks.nybus:nybus-android:${versions.nyBus}",
rxpreference : "com.f2prateek.rx.preferences2:rx-preferences:${versions.rxPreference}",
glide : "com.github.bumptech.glide:glide:${versions.glide}",
glide_compiler : "com.github.bumptech.glide:compiler:${versions.glide}",
glide_transformations: "jp.wasabeef:glide-transformations:${versions.glide_transformations}",
circleimageview : "de.hdodenhof:circleimageview:${versions.circleimageview}",
blurry : "jp.wasabeef:blurry:${versions.blurry}",
retrofit : ['core': "com.squareup.retrofit2:retrofit:${versions.retrofit}",
'json': "com.squareup.retrofit2:converter-gson:${versions.retrofit}",
'rx' : "com.squareup.retrofit2:adapter-rxjava2:${versions.retrofit}",],
okhttp : ['logging': "com.squareup.okhttp3:logging-interceptor:${versions.okhttp}",],
constraint : "com.android.support.constraint:constraint-layout:${versions.constraint}",
flexbox : "com.google.android:flexbox:${versions.flexbox}",
'support' : ['compat' : "com.android.support:support-compat:${versions.supportLibrary}",
'v7' : "com.android.support:appcompat-v7:${versions.supportLibrary}",
'media' : "com.android.support:support-media-compat:${versions.supportLibrary}",
'annotation': "com.android.support:support-annotations:${versions.supportLibrary}",
'palette' : "com.android.support:palette-v7:${versions.supportLibrary}",
'design' : "com.android.support:design:${versions.supportLibrary}",],
calligraphy : "io.github.inflationx:calligraphy3:${versions.calligraphy}",
viewpump : "io.github.inflationx:viewpump:${versions.viewpump}",
exoplayer : ["com.google.android.exoplayer:exoplayer-core:${versions.exoplayer}",
"com.google.android.exoplayer:exoplayer-ui:${versions.exoplayer}",
"com.google.android.exoplayer:extension-mediasession:${versions.exoplayer}"],
gson : "com.google.code.gson:gson:${versions.gson}",
lombok : "org.projectlombok:lombok:${versions.lombok}",
butterknife : "com.jakewharton:butterknife:${versions.butterknife}",
butterknife_compiler : "com.jakewharton:butterknife-compiler:${versions.butterknife}"
]
repositories {
google()
jcenter()
mavenCentral()
maven { url "http://central.maven.org/maven2/" }
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.3'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
jcenter()
mavenCentral()
maven { url "https://jitpack.io" }
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}