-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
56 lines (49 loc) · 1.54 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.navigationVersion = '2.3.5'
ext.kotlinVersion = '1.5.31'
ext.hiltVersion = '2.38.1'
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.0.2'
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"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
// Define versions in a single place
ext {
// Sdk and tools
minSdkVersion = 21
targetSdkVersion = 30
compileSdkVersion = 30
// App dependencies
appCompatVersion = '1.3.1'
archLifecycleVersion = '2.3.1'
coroutinesVersion = '1.5.0'
materialVersion = '1.4.0'
recyclerViewVersion = '1.2.1'
retrofitVersion = '2.9.0'
okhttpLoggingVersion = '4.9.0'
pagingVersion = '3.0.1'
glideVersion = '4.11.0'
paletteVersion = '1.0.0'
constraintLayoutVersion = '2.1.1'
coreKTXVersion = '1.6.0'
timberVersion = '5.0.1'
roomVersion='2.3.0'
mockitoVersion = '3.6.28'
archTestingVersion = '2.1.0'
truthVersion = '1.4.0'
espressoVersion = '3.4.0'
turbineVersion = '0.6.0'
junit = '1.1.3'
}