-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
92 lines (79 loc) · 2.4 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
80
81
82
83
84
85
86
87
88
89
90
91
92
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
// Define versions in a single place
ext {
// Sdk
compileSdkVersion = 29
minSdkVersion = 21
targetSdkVersion = 29
// App dependencies
appCompatVersion = '1.1.0'
preferenceVersion = '1.1.1'
gradleVersion = '3.5.1'
// Kotlin
ktxVersion = '1.3.0'
kotlinVersion = '1.3.72'
ktlintVersion = '0.30.0'
coroutinesVersion = "1.3.0"
// Jetpack
lifecycleVersion = '2.2.0'
navigationVersion = '2.2.2'
recyclerViewVersion = '1.1.0'
fragmentVersion = '1.2.4'
constraintLayoutVersion = '2.0.0-beta6'
pagingVersion = '2.1.1'
roomVersion = '2.2.5'
workVersion = '2.3.2'
// RxJava
rxJavaVersion = '3.0.0'
rxAndroidVersion = '3.0.0'
// Material
materialVersion = '1.1.0'
// Network
okhttp = '4.7.2'
retrofit = '2.9.0'
browser = '1.2.0'
// Tools
koinVersion ='2.1.0'
timberVersion = '4.7.1'
moshiVersion = '1.9.1'
threetenabpVersion = '1.2.4'
// Testing dependencies
junitVersion = '4.12'
espressoVersion = '3.1.1'
coreTestingVersion = '2.0.0'
jacocoVersion = '0.8.4'
runnerVersion = '1.0.1'
testExtJunit = '1.1.0'
uiAutomatorVersion = '2.2.0'
mockitoVersion = "2.25.0"
mockitoAllVersion = "1.10.19"
mockitoAndroidVersion = "2.25.0"
mockwebserverVersion = "3.8.1"
testCoreVersion = "1.1.0"
testRunnerVersion = "1.1.1"
testRulesVersion = "1.1.1"
kotlin_version = '1.3.72'
}
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.0.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
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()
maven { url "https://oss.jfrog.org/libs-snapshot" }
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}