/
build.gradle
120 lines (91 loc) · 2.74 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
119
120
buildscript {
repositories {
jcenter()
mavenLocal()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.3'
classpath 'me.tatarka.retrolambda.projectlombok:lombok.ast:0.2.3.a2'
classpath 'me.tatarka:gradle-retrolambda:3.3.0'
classpath 'com.getkeepsafe.dexcount:dexcount-gradle-plugin:0.6.1'
classpath 'io.realm:realm-gradle-plugin:3.5.0'
//classpath 'com.novoda:gradle-android-command-plugin:1.5.0'
}
// Exclude the version that the android plugin depends on.
configurations.classpath.exclude group: 'com.android.tools.external.lombok'
}
allprojects {
repositories {
jcenter()
maven { url 'https://maven.fabric.io/public' }
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
maven { url "https://jitpack.io" }
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
task wrapper(type: Wrapper) {
gradleVersion = '3.5'
distributionUrl = "https://services.gradle.org/distributions/gradle-${gradleVersion}-all.zip"
}
ext {
//
// gradle build script vars
//
USE_JACK = false // http://tools.android.com/tech-docs/jackandjill
BUILD_TOOLS_VERSION = '25.0.0'
//
// gradle build script dependencies versions
//
// Google Android Support
SUPPORT_LIB_VERSION = '25.3.1'
// Google Play Services
PLAY_SERVICES_VERSION = '9.8.0'
JAVAX_ANNOTATIONS_VERSION = '10.0-b28'
MULTIDEX_VERSION = '1.0.1'
// Rx
RXJAVA_VERSION = '1.2.7'
RXANDROID_VERSION = '1.2.1'
JW_RX_BINDING_VERSION = '1.0.0'
RXJAVA_PROGUARD_RULES_VERSION = '1.2.7.0'
TRELLO_RX_LIFECYCLE_VERSION = '1.0'
RX_RELAY = '1.2.0'
Rx_lint_version = '1.2'
// Retrofit
RETROFIT_VERSION = '2.1.0'
// Test
MOCK_WEB_SERVER_VERSION = '3.4.1'
JUNIT_VERSION = '4.12'
MOCKITO_CORE_VERSION = '1.10.19'
EXPRESSO_VERSION = '2.2.2'
RUNNER_VERSION = '0.5'
RULES_VERSION = '0.5'
// Lombok plugin
LOMBOK_VERSION = '1.16.8'
JACKSON_VERSION = '2.8.5'
// Material tab strip
MATERIAL_TAB_STRIP_VERSION = '1.1.0'
// Glide
GLIDE_VERSION = '3.7.0'
// Facebook Android SDK
FACEBOOK_ANDROID_SDK_VERSION = '4.17.0'
// File Downloader lib
FILE_DOWNLOADER_VERSION = '1.4.1'
FILE_DOWNLOADER_OKHTTP_IMP_VERSION = '1.0.0'
PAYPAL_SDK = '2.15.0'
SUPER_USER_LIB_VERSION = '1.0.0.+'
// Flurry Android SDK
FLURRY_VERSION = '6.4.2'
CRASHLYTICS_VERSION = '2.6.5'
// https://github.com/googlei18n/libphonenumber
LIB_PHONE_NUMBER_VERSION = '8.3.0'
OKHTTP_VERSION = '3.6.0'
CONSTRAINT_LAYOUT_VERSION = '1.0.0'
LEAK_CANARY_VERSION = '1.5'
PARCELER_VERSION = '1.1.6'
BRAINTREE_VERSION = '2.5.4'
BRAINTREE_CARD_FORM_VERSION = '3.0.6'
}
// see 'Multi-module reports' in https://developer.android.com/studio/test/command-line.html
apply plugin: 'android-reporting'