-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
79 lines (68 loc) · 1.78 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
74
75
76
77
78
79
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = '1.3.72'
ext.android_nav = '2.2.0-rc03'
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.6.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:$android_nav"
// 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
}
ext {
// Sdk and tools
compileSdkVersion = 29
minSdkVersion = 19
targetSdkVersion = 29
versionCode = 1
versionName = "1.0.0"
// App dependencies
material = '1.1.0'
multidex = '1.0.3'
appcompat = '1.1.0'
retrofit = '2.6.4'
gson = '2.8.6'
dagger = '2.25.2'
okhttp = '3.12.6'
anko = '0.10.1'
coroutines = '1.3.3'
coil = '0.10.1'
sweet_alert = '1.5.1'
multidex = '1.0.3'
// Androidx
androidx_fragment = '2.2.2'
androidx_ui = '2.2.2'
androidx_core = '1.2.0'
androidx_constraint = '1.1.3'
androidx_legacy = '1.0.0'
androidx_lifecycle = '2.2.0'
androidx_multidex = '2.0.1'
androidx_test = '1.2.0'
androidx_test_ext = '1.1.1'
androidx_test_espresso = '3.2.0'
// Tests
arch_core = '1.1.1'
espresso = '3.2.0'
espresso_runner = '1.1.1'
junit = '4.12'
mockito = '3.3.3'
mockito_kotlin = '2.2.0'
robolectric = '4.3.1'
truth = '1.0'
android_test = '1.2.0'
android_fragment = '1.2.4'
}