-
Notifications
You must be signed in to change notification settings - Fork 58
/
build.gradle
64 lines (49 loc) · 1.51 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
buildscript {
ext {
version = '2.0.0'
versionCode = 28
minSdkVersion = 14
targetSdkVersion = 27
compileSdkVersion = 27
gradleVersion = '4.4.1'
androidPluginVersion = '3.0.1'
gradleVersionsPluginVersion = '0.17.0'
supportLibraryVersion = '27.0.2'
glideVersion = '3.8.0'
deps = [
androidPlugin : "com.android.tools.build:gradle:$androidPluginVersion",
gradleVersionsPlugin: "com.github.ben-manes:gradle-versions-plugin:$gradleVersionsPluginVersion",
supportAppCompat : "com.android.support:appcompat-v7:$supportLibraryVersion",
supportDesign : "com.android.support:design:$supportLibraryVersion",
glide : "com.github.bumptech.glide:glide:$glideVersion",
]
}
repositories {
jcenter()
google()
}
dependencies {
classpath deps.androidPlugin
classpath deps.gradleVersionsPlugin
}
}
apply plugin: 'com.github.ben-manes.versions'
allprojects {
version = rootProject.ext.version
repositories {
jcenter()
google()
maven { url "https://jitpack.io" }
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
task wrapper(type: Wrapper) {
gradleVersion = project.ext.gradleVersion
}
@SuppressWarnings("GroovyUnusedDeclaration")
static boolean isCI() {
Object isCI = System.getenv('CI')
return isCI != null && isCI.toBoolean()
}