-
-
Notifications
You must be signed in to change notification settings - Fork 58
/
build.gradle
119 lines (98 loc) · 3.05 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
///*
// * Designed and developed by 2019 skydoves (Jaewoong Eum)
// *
// * Licensed under the Apache License, Version 2.0 (the "License");
// * you may not use this file except in compliance with the License.
// * You may obtain a copy of the License at
// *
// * http://www.apache.org/licenses/LICENSE-2.0
// *
// * Unless required by applicable law or agreed to in writing, software
// * distributed under the License is distributed on an "AS IS" BASIS,
// * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// * See the License for the specific language governing permissions and
// * limitations under the License.
// */
apply from: './versionsPlugin.gradle'
buildscript {
repositories {
google()
mavenCentral()
jcenter()
}
ext {
// sdk and tools
compileSdkVersion = 30
minSdkVersion = 21
targetSdkVersion = 30
// build tool
gradleBuildTool = '4.1.3'
// support library
fragmentVersion = '1.3.0'
androidxVersion = '1.0.0'
materialVersion = '1.3.0-beta01'
// kotlin
kotlinVersion = '1.4.31'
// architecture components
archCompomentVersion = '2.0.0'
lifecycleVersion = '2.2.0'
roomVersion = '2.2.6'
// binding
bindablesVersion = '1.0.8'
// di
hiltCoreVersion = '2.38.1'
hiltVersion = '1.0.0'
// coroutines
coroutinesVersion = '1.4.3'
// network
retrofitVersion = '2.9.0'
okhttpVersion = '4.9.0'
sandwichVersion = '1.2.0'
gsonVersion = '2.8.5'
// bundler
bundlerVersion = '1.0.4'
// glide
glideVersion = '4.12.0'
glidePaletteVersion = '2.1.2'
// whatIf
whatIfVersion = '1.1.0'
// adapter
baseAdapterVersion = '1.0.4'
// debugging
timberVersion = '4.7.1'
stethoVersion = '1.5.1'
// custom view
expandableTextViewVersion = '0.1.4'
// unit test
junitVersion = '4.12'
androidxTest = '1.1.1'
unitTestCoreVersion = '1.2.0'
robolectricVersion = '4.3'
androidxTestRules = '1.2.0-alpha04'
mockWebServerVersion = '3.9.0'
mockitoKotlinVersion = '2.1.0'
espressoVersion = '3.2.0'
jacocoVersion = '0.8.4'
// plugins
spotlessVersion = '5.14.0'
versionPlugin = '0.23.0'
}
dependencies {
classpath "com.android.tools.build:gradle:$gradleBuildTool"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
classpath "com.google.dagger:hilt-android-gradle-plugin:$hiltCoreVersion"
classpath "com.diffplug.spotless:spotless-plugin-gradle:$spotlessVersion"
classpath "com.github.ben-manes:gradle-versions-plugin:$versionPlugin"
classpath "org.jacoco:org.jacoco.core:$jacocoVersion"
}
}
allprojects {
repositories {
google()
mavenCentral()
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}