-
Notifications
You must be signed in to change notification settings - Fork 37
/
build.gradle
70 lines (61 loc) · 2.72 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
// 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.2.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
maven {
url "http://maven.bughd.com/public"
}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
// Define versions in a single place
ext {
// Sdk and tools
minSdkVersion = 16
targetSdkVersion = 22
compileSdkVersion = 24
buildToolsVersion = '24'
supportLibraryVersion = '24.2.0'
retrofitVersion = '2.1.+'
stethoVersion = '1.3.1'
libs = [
junit : 'junit:junit:4.12',
support_v4 : "com.android.support:support-v4:$supportLibraryVersion",
appcompat_v7 : "com.android.support:appcompat-v7:$supportLibraryVersion",
material_design : "com.android.support:design:$supportLibraryVersion",
recyclerview_v7 : "com.android.support:recyclerview-v7:$supportLibraryVersion",
cardview_v7 : "com.android.support:cardview-v7:$supportLibraryVersion",
customtabs : "com.android.support:customtabs:$supportLibraryVersion",
rxjava : 'io.reactivex:rxjava:1.1.5',
rxandroid : 'io.reactivex:rxandroid:1.2.0',
glide : 'com.github.bumptech.glide:glide:3.7.0',
butterknife : 'com.jakewharton:butterknife:7.0.1',
gson : 'com.google.code.gson:gson:2.6.2',
retrofit2 : "com.squareup.retrofit2:retrofit:$retrofitVersion",
retrofit2GsonConverter: "com.squareup.retrofit2:converter-gson:$retrofitVersion",
retrofit2RxJavaAdapter: "com.squareup.retrofit2:adapter-rxjava:$retrofitVersion",
sqlbrite : 'com.squareup.sqlbrite:sqlbrite:0.6.3',
crashlytics : 'com.crashlytics.sdk.android:crashlytics:2.6.+@aar',
answers : 'com.crashlytics.sdk.android:answers:1.3.+@aar',
stetho : "com.facebook.stetho:stetho:$stethoVersion",
stetho_okhttp : "com.facebook.stetho:stetho-okhttp3:$stethoVersion",
stetho_jsconsole : "com.facebook.stetho:stetho-js-rhino:$stethoVersion",
calligraphy : 'uk.co.chrisjenx:calligraphy:2.2.0'
]
// classpath
paths = [
fabricClassPath: 'io.fabric.tools:gradle:1.+'
]
}