-
-
Notifications
You must be signed in to change notification settings - Fork 114
/
Copy pathbuild.gradle
88 lines (70 loc) · 1.95 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
buildscript {
ext {
// sdk and tools
compileSdkVersion = 29
minSdkVersion = 16
targetSdkVersion = 29
// application versions
versionCode = 1
versionName = '1.0.0'
// kotlin
kotlinVersion = '1.3.61'
// support library
materialVersion = '1.2.0-alpha05'
androidActivity = '1.1.0'
androidFragment = '1.2.2'
androidxPalette = '1.0.0'
// architecture components
lifecycleVersion = '2.2.0'
archCompomentVersion = '2.0.0'
roomVersion = '2.2.4'
// dependency injection
daggerVersion = '2.26'
// network
retrofitVersion = '2.3.0'
okhttpVersion = '3.11.0'
gsonVersion = '2.8.2'
// glide
glideVersion = '4.9.0'
glidePaletteVersion = '2.1.2'
// whatIf
whatIfVersion = '1.0.4'
// adapter
baseAdapterVersion = '0.1.3'
// logger
timberVersion = '4.7.1'
stethoVersion = '1.5.1'
// custom view
expandableTextViewVersion = '0.1.4'
// unit test
androidxTest = '1.1.0'
androidxTestRules = '1.2.0-alpha04'
junitVersion = '4.12'
mockWebServerVersion = '3.9.0'
mockitoKotlinVersion = '2.0.0-RC1'
robolectricVersion = '4.3'
espressoVersion = '3.1.1'
jacocoVersion = '0.8.1'
// plugin
spotlessVersion = '3.28.0'
}
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.6.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
classpath "com.diffplug.spotless:spotless-plugin-gradle:$spotlessVersion"
classpath "org.jacoco:org.jacoco.core:$jacocoVersion"
}
}
allprojects {
repositories {
google()
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}