-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
185 lines (130 loc) · 6.74 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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext {
minSdkVersion = 21
targetSdkVersion = 31
versionCode = 1
versionName = "1.0.0"
compileSdkVersion = 31
buildToolsVersion = "30.0.2"
kotlinVersion = '1.5.21'
materialVersion = '1.5.0-alpha02'
legacySupportVersion = '1.0.0'
supportVersion = '1.3.0'
recyclerVersion = '1.2.0'
cardViewVersion = '1.0.0'
constraintVersion = '2.1.0'
daggerVersion = '2.36'
navControllerVersion = '2.3.5'
architectureComponentVersion = '2.3.1'
coroutinesVersion = '1.5.1'
timberVersion = '4.7.1'
retrofitVersion = '2.9.0'
okhttpVersion = '5.0.0-alpha.2'
rxjavaVersion = '2.2.21'
rxandroidVersion = '2.1.1'
rxkotlinVersion = '2.4.0'
gsonVersion = '2.8.7'
eventBusVersion = '3.2.0'
metadataVersion = '0.3.0'
securityVersion = '1.1.0-alpha03'
coreVersion = '1.5.0'
coreLibDesugaringVersion = '1.1.5'
firebaseVersion = '28.2.1'
crashlyticsGradleVersion = '2.7.1'
googleAuthVersion = '19.2.0'
vkAuthVersion = '3.4.1'
pinEditTextVersion = '1.2.6'
wheelPickerVersion = '1.0.1'
calendarViewVersion = '1.0.4'
barcodeScanningVersion = '17.0.0'
cameraViewVersion = '2.7.2'
dexterVersion = '6.2.3'
coilVersion = '1.3.2'
googleMapKitVersion = '17.0.1'
googleLocationServicesVersion = '18.0.0'
qrCodeGeneratorVersion = '4.3.0'
jUnitVersion = '5.8.2'
jUnitExtVersion = '1.1.3'
mockitoVersion = '4.3.1'
mockitoExtVersion = '4.0.0'
espressoVersion = '3.4.0'
kotlinDep = "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlinVersion"
androidxCoreDep = "androidx.core:core-ktx:$coreVersion"
androidDep = "androidx.appcompat:appcompat:$supportVersion"
cardViewDep = "androidx.cardview:cardview:$cardViewVersion"
recyclerViewDep = "androidx.recyclerview:recyclerview:$recyclerVersion"
constraintDep = "androidx.constraintlayout:constraintlayout:$constraintVersion"
materialDep = "com.google.android.material:material:$materialVersion"
timberDep = "com.jakewharton.timber:timber:$timberVersion"
daggerDep = "com.google.dagger:dagger:$daggerVersion"
daggerKapt = "com.google.dagger:dagger-compiler:$daggerVersion"
lifecycleVMDep = "androidx.lifecycle:lifecycle-viewmodel-ktx:$architectureComponentVersion"
lifecycleLiveDataDep = "androidx.lifecycle:lifecycle-livedata-ktx:$architectureComponentVersion"
lifecycleRuntimeDep = "androidx.lifecycle:lifecycle-runtime-ktx:$architectureComponentVersion"
lifecycleKapt = "androidx.lifecycle:lifecycle-compiler:$architectureComponentVersion"
lifecycleCommonDep = "androidx.lifecycle:lifecycle-common-java8:$architectureComponentVersion"
navigationFragmentDep = "androidx.navigation:navigation-fragment-ktx:$navControllerVersion"
navigationUiDep = "androidx.navigation:navigation-ui-ktx:$navControllerVersion"
coroutinesDep = "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutinesVersion"
coroutinesAndroidDep = "org.jetbrains.kotlinx:kotlinx-coroutines-android:$coroutinesVersion"
metadataKapt = "org.jetbrains.kotlinx:kotlinx-metadata-jvm:$metadataVersion"
legacyDep = "androidx.legacy:legacy-support-v4:$legacySupportVersion"
okHttpDep = "com.squareup.okhttp3:okhttp:$okhttpVersion"
okHttpLoggingDep = "com.squareup.okhttp3:logging-interceptor:$okhttpVersion"
retrofitDep = "com.squareup.retrofit2:retrofit:$retrofitVersion"
retrofitAdapterDep = "com.squareup.retrofit2:adapter-rxjava2:$retrofitVersion"
rxJavaDep = "io.reactivex.rxjava2:rxjava:$rxjavaVersion"
rxAndroidDep = "io.reactivex.rxjava2:rxandroid:$rxandroidVersion"
rxKotlinDep = "io.reactivex.rxjava2:rxkotlin:$rxkotlinVersion"
gsonConverterDep = "com.squareup.retrofit2:converter-gson:$retrofitVersion"
eventBusDep = "org.greenrobot:eventbus:$eventBusVersion"
gsonDep = "com.google.code.gson:gson:$gsonVersion"
securityDep = "androidx.security:security-crypto:$securityVersion"
coreLibDesugaringDep = "com.android.tools:desugar_jdk_libs:$coreLibDesugaringVersion"
firebaseBomDep = "com.google.firebase:firebase-bom:$firebaseVersion"
firebaseAnalyticsDep = 'com.google.firebase:firebase-analytics-ktx'
firebaseCrashlyticsDep = 'com.google.firebase:firebase-crashlytics-ktx'
googleAuthDep = "com.google.android.gms:play-services-auth:$googleAuthVersion"
vkSdkCodeDep = "com.vk:android-sdk-core:$vkAuthVersion"
vkSdkApiDep = "com.vk:android-sdk-api:$vkAuthVersion"
pinEditTextDep = "com.github.poovamraj:PinEditTextField:$pinEditTextVersion"
wheelPickerDep = "studio.clapp:wheelpicker:$wheelPickerVersion"
calendarViewDep = "com.github.kizitonwose:CalendarView:$calendarViewVersion"
barcodeScanningDep = "com.google.mlkit:barcode-scanning:$barcodeScanningVersion"
cameraViewDep = "com.otaliastudios:cameraview:$cameraViewVersion"
dexterDep = "com.karumi:dexter:$dexterVersion"
coilDep = "io.coil-kt:coil:$coilVersion"
googleMapKitDep = "com.google.android.gms:play-services-maps:$googleMapKitVersion"
googleLocationServicesDep = "com.google.android.gms:play-services-location:$googleLocationServicesVersion"
qrCodeGeneratorDep = "com.journeyapps:zxing-android-embedded:$qrCodeGeneratorVersion"
jUnitDep = "org.junit.jupiter:junit-jupiter-api:$jUnitVersion"
jUnitExtDep = "androidx.test.ext:junit:$jUnitExtVersion"
jUnitEngineDep = "org.junit.jupiter:junit-jupiter-engine:$jUnitVersion"
jUnitParamsDep = "org.junit.jupiter:junit-jupiter-params:$jUnitVersion"
mockitoDep = "org.mockito:mockito-core:$mockitoVersion"
mockitoExt = "org.mockito.kotlin:mockito-kotlin:$mockitoExtVersion"
espressoDep = "androidx.test.espresso:espresso-core:$espressoVersion"
}
ext.kotlin_version = "1.5.30"
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.1.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.google.gms:google-services:4.3.10'
classpath "de.mannodermaus.gradle.plugins:android-junit5:1.8.2.0"
}
}
allprojects {
repositories {
google()
mavenCentral()
maven { url "https://jitpack.io" }
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}