-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
59 lines (54 loc) · 2.37 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
apply from: './dependencies.gradle'
repositories {
mavenCentral()
google()
jcenter()
}
dependencies {
classpath "com.android.tools.build:gradle:$versions.gradleBuildTools"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$versions.kotlin"
classpath "com.google.dagger:hilt-android-gradle-plugin:$versions.hiltVersion"
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:$versions.navVersion"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
mavenCentral()
google()
jcenter()
}
}
def version = [
appCompactVersion : '1.6.0',
kotlin_mockito : '4.0.0',
picasso : '2.71828',
test_rules : '1.2.0',
android_junit : '1.1.2',
livedata_test : '1.2.0',
test_core : '1.4.0',
arch_core : '2.1.0',
espresso : '3.4.0',
idling_resource : '3.4.0',
coroutinesVersion : '1.3.9'
]
ext.deps = [
kotlin_mockito : "org.mockito.kotlin:mockito-kotlin:$version.kotlin_mockito",
coroutines_test : ["org.jetbrains.kotlinx:kotlinx-coroutines-test:$version.coroutinesVersion",
"org.jetbrains.kotlinx:kotlinx-coroutines-android:$versions.coroutinesVersion"],
androidx_test : ["androidx.test:rules:$version.test_rules",
"androidx.test.ext:junit:$version.android_junit",
"androidx.test:core:$version.test_core",
"androidx.arch.core:core-testing:$version.arch_core"],
livedata_test : "com.jraska.livedata:testing-ktx:$version.livedata_test",
espresso : ["androidx.test.espresso:espresso-core:$version.espresso",
"androidx.test.espresso:espresso-contrib:$version.espresso"],
idling_resource : "androidx.test.espresso:espresso-idling-resource:$version.idling_resource",
appCompact : "androidx.core:core-ktx:$version.appCompactVersion"
]
task clean(type: Delete) {
delete rootProject.buildDir
}