forked from SoftwareEngineeringDaily/SEDaily-Android
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
77 lines (73 loc) · 1.89 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
google()
mavenCentral()
maven {
url 'https://maven.fabric.io/public'
}
}
dependencies {
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
classpath 'com.android.tools.build:gradle:3.0.1'
classpath 'com.google.gms:google-services:3.1.0'
classpath 'com.google.gms:oss-licenses:0.9.1'
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.2.0'
classpath 'io.fabric.tools:gradle:1.24.4'
classpath 'com.dicedmelon.gradle:jacoco-android:0.1.2'
}
}
allprojects {
repositories {
jcenter()
maven { url "https://jitpack.io" }
google()
mavenCentral()
}
}
ext {
//SDK and Tools
minSdkVersion = 16
targetSdkVersion = 27
compileSdkVersion = 27
buildToolsVersion = '27.0.2'
//Android
supportLibraryVersion = '27.0.2'
architectureComponents = '1.0.0'
constraintlayoutVersion = '1.0.2'
//Kotlin
kotlinVersion = '1.2.0'
//Firebase
firebaseServicesVersion = '11.6.2'
//Architecture
daggerVersion = '2.13'
playVersion = '11.6.2'
//UI
butterknifeVersion = '8.8.1'
materialChipsVersion = '1.0.8'
materialValuesVersion = '1.1.1'
picassoVersion = '2.5.2'
//RxJava
rxjava2Version = '2.1.4'
rxAndroid2Version = '2.0.1'
//Networking
retrofit2Version = '2.3.0'
okhttp3Version = '3.9.0'
//Data
gsonVersion = '2.8.0'
autoValueVersion = '1.5.1'
autoValueGsonVersion = '0.5.0'
//Debugging & Logging
timberVersion = '4.5.1'
leakCanaryVersion = '1.5.4'
rxjava2Debug = '1.2.0'
//Testing
espressoVersion = '2.2.2'
junitVersion = '4.12'
mockitoVersion = '2.10.0'
}
task clean(type: Delete) {
delete rootProject.buildDir
}