-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
54 lines (50 loc) · 1.55 KB
/
build.gradle
File metadata and controls
54 lines (50 loc) · 1.55 KB
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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = "1.4.32"
ext.hiltVersion = '2.31-alpha'
ext.navigationVersion = '2.3.0'
repositories {
google()
jcenter()
}
dependencies {
classpath "com.android.tools.build:gradle:4.1.2"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "com.google.dagger:hilt-android-gradle-plugin:$hiltVersion"
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:$navigationVersion"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
// Define versions in a single place
ext {
// 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'
materialDesignComponentsVersion = '1.4.0'
daggerVersion = '2.13'
rxJavaVersion = '2.0.1'
mockitoInlineVersion = '2.11.0'
coreTestingVerssion = '1.1.1'
kotlinTestJunitVersion = '1.5.0'
coroutinesTestVerions = '1.3.7'
testJunitVersion = '1.0.0-beta05'
testRunnerVersion = '1.3.0'
}