-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.gradle
60 lines (52 loc) · 1.47 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.3.0-alpha12'
classpath "io.realm:realm-gradle-plugin:3.1.1"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
google()
mavenCentral()
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
maven { url 'https://jitpack.io' }
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
ext {
//Versions are managed here. Consider doing something like this if you don't already.
minSdkVersion = 21
targetSdkVersion = 27
compileSdkVersion = 27
buildToolsVersion = '27.0.3'
//3rd party
mockitoVersion = '1.10.19'
daggerVersion = '2.10-rc2'
jsr250Version = '1.0'
junitVersion = '4.12'
runnerVersion = '0.5'
rulesVersion = '0.5'
espressoVersion = '2.2.2'
speakerBoxVersion = '1.4.1'
lottieVersion = '2.5.5'
dropdownViewVersion = '1.0.1'
//android
supportLibraryVersion = '27.1.1'
constraintLayoutVersion = '1.0.2'
archLifecycleVersion = "1.1.0"
//data
retrofitVersion = '2.3.0'
gsonVersion = '2.8.0'
rxJavaVersion = '2.0.7'
rxAndroidVersion = '2.0.1'
}