-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.gradle
67 lines (59 loc) · 2.75 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.1.2'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
mavenCentral()
maven { url "${System.env.HOME}/.m2/repository" }
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
/*
Shared gradle properties
*/
ext {
compileSdkVersion = 23
buildToolsVersion = "23.0.3"
minSdkVersion = 15
targetSdkVersion = 23
supportVersion = '23.4.0'
okhttpVersion = '3.2.0'
retrofitVersion = '2.0.0'
butterknifeVersion = '7.0.1'
timberVersion = '4.1.1'
rxJavaVersion = '1.1.1'
rxAndroidVersion = '1.1.0'
deps = [supportV4 : ('com.android.support:support-v4:' + supportVersion),
supportAnnotations : ('com.android.support:support-annotations:' + supportVersion),
appcompatV7 : ('com.android.support:appcompat-v7:' + supportVersion),
supportDesign : ('com.android.support:design:' + supportVersion),
gridlayoutV7 : ('com.android.support:gridlayout-v7:' + supportVersion),
recyclerviewV7 : ('com.android.support:recyclerview-v7:' + supportVersion),
okhttp : ('com.squareup.okhttp3:okhttp:' + okhttpVersion),
okhttpurlconnection : ('com.squareup.okhttp3:okhttp-urlconnection:' + okhttpVersion),
okhttpLoggingInterceptor: ('com.squareup.okhttp3:logging-interceptor:' + okhttpVersion),
rxJava : ('io.reactivex:rxjava:' + rxJavaVersion),
rxAndroid : ('io.reactivex:rxandroid:' + rxAndroidVersion),
retrofit : ('com.squareup.retrofit2:retrofit:' + retrofitVersion),
retrofitConverterJackson: ('com.squareup.retrofit2:converter-jackson:' + retrofitVersion),
butterknife : ('com.jakewharton:butterknife:' + butterknifeVersion),
timber : ('com.jakewharton.timber:timber:' + timberVersion),
easyrecycleradapters : 'com.smartydroid:easyrecycleradapters:1.0.10',
prefs : 'me.alexrs:prefs:1.1.0',
smoothprogressbar : 'com.github.castorflex.smoothprogressbar:library-circular:1.1.0',
recyclerviewanimators : 'jp.wasabeef:recyclerview-animators:1.3.0',
kprogresshud : 'com.kaopiz:kprogresshud:1.0.5',
materialDialogs : 'com.github.afollestad.material-dialogs:core:0.8.5.6@aar',
paginate : 'com.github.markomilos:paginate:0.5.1']
}