-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle
141 lines (111 loc) · 3.67 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
google()
jcenter()
maven { url 'https://maven.fabric.io/public' }
}
dependencies {
classpath 'com.android.tools.build:gradle:4.0.1'
classpath 'com.google.gms:google-services:4.3.3'
classpath 'io.fabric.tools:gradle:1.31.0'
classpath 'com.google.firebase:perf-plugin:1.3.1'
}
}
allprojects {
repositories {
google()
maven { url 'https://maven.google.com' }
jcenter()
maven { url 'https://dl.bintray.com/metrixorg/maven' }
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
// define versions in a single place
ext {
// sdk and tools
minSdkVersion = 21
targetSdkVersion = 29
compileSdkVersion = 29
buildToolsVersion = '29.0.0'
// android support libraries
supportLibraryVersion = '1.1.0'
recyclerViewVersion = '1.0.0-beta01'
cardViewVersion = '1.0.0-beta01'
materialVersion = '1.0.0-beta01'
vectorDrawableVersion = '1.1.0'
animatedVectorDrawableVersion = '1.1.0'
constraintLayoutVersion = '1.1.3'
// firebase
firebaseVersion = '17.0.1'
// firebase performance
firebasePerformanceVersion = '18.0.1'
// firebase messaging
firebaseMessagingVersion = '19.0.1'
// crashlytic
crashlyticVersion = '2.10.1'
// database
// source: https://developer.android.com/jetpack/androidx/releases/room#declaring_dependencies
roomDatabaseVersion = '2.1.0'
// font
// source: https://github.com/InflationX/Calligraphy
calligraphyVersion = '3.1.1'
// view pump
// source: https://github.com/InflationX/ViewPump
viewPumpVersion = '2.0.3'
// parser
// source: https://github.com/google/gson
gsonVersion = '2.8.5'
// expansion panel
// source: https://github.com/florent37/ExpansionPanel
expansionPanelVersion = '1.2.2'
// shape of view
// source: https://github.com/florent37/ShapeOfView
shapeOfViewVersion = '1.4.7'
// android job
// source: https://github.com/evernote/android-job
androidJobVersion = '1.3.0-rc1'
// android work manager
// source: https://developer.android.com/jetpack/androidx/releases/work
workManagerVersion = '2.1.0'
// arc navigation view
// source: https://github.com/rom4ek/ArcNavigationView
arcNavigationViewVersion = '1.0.3'
// loaders pack
// source: https://github.com/agrawalsuneet/LoadersPack-Android
loadersPackVersion = '1.2.3'
// debug database
// source: https://github.com/amitshekhariitbhu/Android-Debug-Database
debugDBVersion = '1.0.6'
// dependency injection
// source: https://github.com/google/dagger
dagger2Version = '2.23.2'
// reactive
// source: https://github.com/ReactiveX/RxAndroid
rxjava2Version = '2.2.10'
rxandroidVersion = '2.1.1'
// logger
// source: https://github.com/JakeWharton/timber
timberVersion = '4.7.1'
// dependencies for local unit tests
junitVersion = '4.12'
mockitoVersion = '2.28.2'
// UI Testing
// source: https://developer.android.com/training/testing/espresso/setup
espressoVersion = '3.1.0'
// view model
// source: https://developer.android.com/jetpack/androidx/releases/lifecycle
lifecycleVersion = '2.1.0'
// install referrer
installreferrerVersion = '1.0'
// adtrace SDK
// source: https://github.com/adtrace/adtrace_sdk_android
adtraceVersion = '1.0.3'
// metrix SDK
// https://metrix.ir/docs/sdk/android/
metrixVersion = '0.15.5'
// google play services
playServicesVersion = '17.0.0'
}