-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
78 lines (69 loc) · 2.36 KB
/
build.gradle
File metadata and controls
78 lines (69 loc) · 2.36 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
buildscript {
ext.kotlinVersion = '1.3.31'
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.3.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
}
}
allprojects {
repositories {
google()
jcenter()
}
}
ext {
daggerVersion = '2.17'
timberVersion = '4.7.1'
retrofitVersion = '2.4.0'
rxJavaVersion = '2.2.0'
androidKtxVersion = '1.0.0'
targetSdkVersion = 27
compileSdkVersion = 28
minSdkVersion = 19
androidxArchCoreVersion = '2.0.0'
androidxExifVersion = '1.0.0'
androidxDesignVersion = '1.0.0-rc01'
// rx
rxJavaVersion = '3.0.7'
rxRelayVersion = '3.0.0'
// Test Versions
junitVersion = '4.12'
androidTestRunnerVersion = '1.1.0'
espressoVersion = '3.0.2'
coreVersion = '1.0.0'
}
ext.deps = [
'base' :
[
dagger : "com.google.dagger:dagger:${daggerVersion}",
timber : "com.jakewharton.timber:timber:${timberVersion}",
retrofit: "com.squareup.retrofit2:retrofit:$retrofitVersion",
stdlibKt: "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlinVersion"
],
'test' :
[
junit : "junit:junit:$junitVersion",
core : "androidx.test:core:$coreVersion",
androidTestRunner: "androidx.test:runner:$androidTestRunnerVersion",
espressoCore : "com.android.support.test.espresso:espresso-core:$espressoVersion",
],
'androidx':
[
ktx : "androidx.core:core-ktx:$androidKtxVersion",
common: "androidx.arch.core:core-common:$androidxArchCoreVersion",
design: "com.google.android.material:material:$androidxDesignVersion",
exif : "androidx.exifinterface:exifinterface:$androidxExifVersion"
],
'rx' :
[
rxJava : "io.reactivex.rxjava3:rxjava:$rxJavaVersion",
rxRelay: "com.jakewharton.rxrelay3:rxrelay:$rxRelayVersion",
]
]
task clean(type: Delete) {
delete rootProject.buildDir
}