-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
79 lines (67 loc) · 2.29 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.0-alpha06'
}
}
allprojects {
repositories {
google()
jcenter()
}
project.ext {
//properties
myCompileSdkVersion = 26
myBuildToolsVersion = "26.0.2"
myMinSdkVersion = 21
myTargetSdkVersion = 23
}
ext.versions = [
androidSupport: "25.0.0",
constraintLayout: "1.0.2",
butterKnife: "8.7.0",
espresso: "2.2.2",
junit: "4.12",
googlePlayServices: "9.8.0",
retrofit: "2.3.0",
annotation: "10.0-b28",
glide: "4.3.1"
]
ext.tests = [
junit: "junit:junit:$versions.junit",
espresso: "com.android.support.test.espresso:espresso-core:$versions.espresso"
]
ext.support = [
appcompat7: "com.android.support:appcompat-v7:$versions.androidSupport",
support4: "com.android.support:support-v4:$versions.androidSupport",
design: "com.android.support:design:$versions.androidSupport",
recyclerview: "com.android.support:recyclerview-v7:$versions.androidSupport",
constraintLayout: "com.android.support.constraint:constraint-layout:$versions.constraintLayout"
]
ext.googleplay = [
services: "com.google.android.gms:play-services:$versions.googlePlayServices",
location: "com.google.android.gms:play-services-location:$versions.googlePlayServices"
]
ext.jakewharton = [
butterknife: "com.jakewharton:butterknife:$versions.butterKnife",
butterknifeCompiler: "com.jakewharton:butterknife-compiler:$versions.butterKnife"
]
ext.squareup = [
retrofit: "com.squareup.retrofit2:retrofit:$versions.retrofit",
converterGson: "com.squareup.retrofit2:converter-gson:$versions.retrofit"
]
ext.annotation = [
annotation: "org.glassfish:javax.annotation:$versions.annotation"
]
ext.bumpertech = [
glide: "com.github.bumptech.glide:glide:$versions.glide",
compiler: "com.github.bumptech.glide:compiler:$versions.glide"
]
}
task clean(type: Delete) {
delete rootProject.buildDir
}