forked from meganz/android
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
86 lines (81 loc) · 2.56 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.gradleVersion = '4.1.1'
ext.kotlinVersion = '1.4.10'
ext.navigationVersion = '2.3.0'
ext.googleServicesVersion = '4.3.5'
ext.hiltVersion = "2.29.1-alpha"
ext.huaweiServicesVersion = "1.4.1.300"
ext.firebaseCrashlyticsVersion = "2.5.1"
repositories {
jcenter()
google()
maven { url 'http://developer.huawei.com/repo/' }
}
dependencies {
classpath "com.android.tools.build:gradle:$gradleVersion"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:$navigationVersion"
classpath "com.google.gms:google-services:$googleServicesVersion"
classpath "com.google.dagger:hilt-android-gradle-plugin:$hiltVersion"
classpath "com.huawei.agconnect:agcp:$huaweiServicesVersion"
classpath "com.google.firebase:firebase-crashlytics-gradle:$firebaseCrashlyticsVersion"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
google()
mavenCentral()
maven {
url "https://jitpack.io"
}
maven {
url 'http://developer.huawei.com/repo/'
}
flatDir {
dirs "$rootProject.projectDir/app/src/main/jni/ExoPlayer/"
}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
// Define versions in a single place
ext {
// App
appVersion = "4.2.1"
versionCode = 393
// Sdk and tools
compileSdkVersion = 29
minSdkVersion = 21
targetSdkVersion = 29
buildToolsVerion = '29.0.3'
// App dependencies
appCompatVersion = '1.2.0'
daggerVersion = "2.24"
constraintLayoutVersion = '2.0.3'
coroutinesVersion = "1.4.1"
fragmentKtxVersion = '1.2.5'
glideVersion = '4.10.0'
gsonVersion = '2.8.5'
ktxVersion = '1.3.2'
lifecycleVersion = '2.3.0'
materialVersion = '1.3.0'
recyclerViewVersion = '1.1.0'
roomVersion = '2.2.5'
viewPagerVersion = '1.0.0'
cardViewVersion = '1.0.0'
legacySupportVersion = 'v4:1.0.0'
hiltAndroidXVersion = '1.0.0-alpha02'
rxJavaVersion = '3.0.4'
rxAndroidVersion = '3.0.0'
ankoVersion = '0.10.8'
frescoVersion = '2.3.0'
playServicesAdsVersion = '19.7.0'
bannerViewPagerVersion = '3.4.0'
liveEventBus = '1.7.3'
firebaseBom = '26.7.0'
}