-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
50 lines (45 loc) · 1.23 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext {
kotlinVersion = '1.4.0'
navigationVersion = '2.3.0'
hiltVersion = '2.28.3-alpha'
}
repositories {
google()
jcenter()
}
dependencies {
classpath "com.android.tools.build:gradle:4.0.1"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:$navigationVersion"
classpath "com.google.dagger:hilt-android-gradle-plugin:$hiltVersion"
}
}
allprojects {
repositories {
google()
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
// Define versions in a single place
ext {
// Sdk and tools
minSdkVersion = 21
targetSdkVersion = 29
compileSdkVersion = 29
// App dependencies
appCompatVersion = '1.2.0'
constraintLayoutVersion = '1.1.3'
espressoVersion = '3.2.0'
glideVersion = '4.11.0'
hiltAndroidXVersion = '1.0.0-alpha02'
junitVersion = '4.13'
ktxVersion = '1.3.1'
pagingVersion = '3.0.0-alpha05'
retrofitVersion = '2.9.0'
testExtJunitVersion = '1.1.1'
}