-
Notifications
You must be signed in to change notification settings - Fork 16
/
build.gradle
90 lines (79 loc) · 2.86 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = '1.3.61'
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.5.3'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
allprojects {
repositories {
mavenCentral()
google()
jcenter()
}
project.ext {
sharedCompileSdkVersion = 29
sharedMinSdkVersion = 21
sharedTargetSdkVersion = 29
sharedBuildToolsVersion = "29.0.2"
appVersionCode = 3
appVersionName = "0.3"
}
}
ext {
// dependency versions (sorted alphabetically)
versions = [
// production dependencies
butterknife : '10.2.0',
dagger : '2.25.2',
jsrAnnotations : '3.0.2',
moshi : '1.8.0',
okhttp : '3.11.0',
retrofit : '2.6.0',
room : '1.1.1',
rxandroid : '2.1.0',
rxjava : '2.2.2',
timber : '4.7.1',
// AndroidX - https://developer.android.com/jetpack/androidx/versions
androidx : [
annotation : '1.1.0',
appCompat : '1.1.0',
archCoreRuntime : '2.0.1',
cardview : '1.0.0',
constraintLayout : '1.1.3',
core : '1.1.0',
coreUtils : '1.0.0',
espressoCore : '3.1.0',
fragment : '1.0.0',
legacyPreferenceV14 : '1.0.0',
lifecycleCompiler : '2.0.0',
lifecycleExtensions : '2.0.0',
lifecycleRuntime : '2.0.0',
material : '1.0.0',
media : '1.0.1',
palette : '1.0.0',
supportCoreUi : '1.0.0',
supportV4 : '1.0.0',
recyclerview : '1.0.0',
room : '2.2.0',
vectordrawableAnimated: '1.1.0',
// AndroidX test dependencies
roomTesting : '2.2.0',
test : '1.2.0',
testExt : '1.1.1'
],
// Test dependencies
espressoCore : '3.0.2',
junit : '4.12',
mockito : '2.15.0',
supportTest : '1.0.2'
]
}
task clean(type: Delete) {
delete rootProject.buildDir
}