-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle
73 lines (67 loc) · 2.18 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = '1.4.21'
ext.hiltVersion = "2.28.3-alpha"
ext {
version_core = '1.3.2'
version_coroutine = "1.3.9"
version_constraint_layout = '2.0.4'
version_kotlin = "1.4.10"
version_lifecycle_extensions = "2.2.0"
version_navigation = '2.3.2'
version_retrofit = '2.9.0'
version_retrofit_coroutines_adapter = "0.9.2"
version_moshi = '1.11.0'
version_viewPagerVersion = '1.0.0'
materialVersion = '1.3.0-beta01'
buildGradle = '4.1.0'
gradlePlugin = '2.2.0-rc02'
version_room = '2.2.6'
threetenabp = '1.3.0'
version_glide = '4.11.0'
version_glide_compiler = '4.11.0'
hiltAndroidXVersion = '1.0.0-alpha01'
junitVersion = '4.13.1'
mockitoVersion = '3.3.3'
hamcrestVersion = '1.3'
archTestingVersion = '2.1.0'
robolectricVersion = '4.4'
espressoVersion = '3.3.0'
truthVersion = '1.1'
mockitoVersion = '2.8.9'
dexMakerVersion = '2.12.1'
androidXTestCoreVersion = '1.3.0'
androidXTestExtKotlinRunnerVersion = '1.1.2'
androidXTestRulesVersion = '1.3.0'
fragmentVersion = '1.2.5'
}
repositories {
google()
jcenter()
mavenCentral()
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "com.android.tools.build:gradle:${buildGradle}"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:$gradlePlugin"
classpath("org.jlleitschuh.gradle:ktlint-gradle:9.3.0")
classpath 'com.google.dagger:hilt-android-gradle-plugin:2.29.1-alpha'
}
}
allprojects {
repositories {
google()
jcenter()
maven { url "https://jitpack.io" }
maven {
url 'https://maven.google.com'
}
apply plugin: "org.jlleitschuh.gradle.ktlint"
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}