This repository has been archived by the owner on Jul 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy pathbuild.gradle
117 lines (100 loc) · 3.97 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.versions = [
// build
'versionCode' : 36,
'versionName' : "2.0.2",
'minSdk' : 21,
'targetSdk' : 33,
'compileSdk' : 33,
'gradle' : '7.3.0',
'kotlin' : '1.6.20',
// core
'coreKtx' : "1.3.2",
'fragmentKtx' : "1.2.5",
'preferenceKtx' : "1.1.1",
'architectureComponents' : "2.2.0",
'architectureComponentsPaging': "2.1.2",
'workManager' : '2.7.1',
'annotations' : "1.1.0",
'appCompat' : "1.2.0",
'multidex' : "2.0.1",
'browser' : "1.2.0", // Chrome custom tabs
'hilt' : '2.42',
'hiltViewModel' : '1.0.0',
'hiltWorkManager' : '1.0.0',
'coroutines' : "1.3.9",
// cast
'mediarouter' : "1.1.0",
'castFramework' : '17.1.0', // Google cast
// ui
'constraintLayout' : "2.0.2",
'exoplayer' : "2.17.1",
'navigation' : '2.5.0-rc01',
'materialDesign' : '1.2.1',
'vectorDrawable' : '1.1.0',
'recyclerView' : "1.0.0",
'viewpagerdots' : "1.0.0",
'viewpager' : "1.0.0",
'swiperefreshlayout' : "1.1.0",
'cardView' : '1.0.0',
// db
'room' : '2.4.0-alpha03',
// time
'threetenabp' : "1.2.4",
//network
'retrofit' : '2.9.0',
'moshi' : '1.13.0',
'okHttp' : '4.8.1',
'glide' : '4.10.0',
//quality
'ktlint' : "0.33.0",
'crashlytics' : '2.5.2',
//test
'powerMock' : "2.0.9",
'mockito' : "4.5.1",
'junit' : "4.12",
'hamcrest' : "1.3",
'googleTruth' : "1.1.3",
'mockitoKotlin' : "2.2.0",
'testRunner' : "1.2.0",
'architectureComponentsTest' : "1.0.0",
// firebase
'firebaseConfig' : '18.0.0',
'firebasePerf' : '19.0.2',
'firebaseCrash' : '17.2.2',
// play services
'playOss' : '17.0.0',
'playCore' : '1.8.3',
'playCoreKtx' : '1.8.1',
// plugins
'firebasePerfPlugin' : '1.4.1',
'jacocoPlugin' : "0.8.1",
'googleServicesPlugin' : '4.3.10',
'ossLicenses' : "0.10.4"
]
repositories {
google()
mavenCentral()
}
dependencies {
classpath "com.android.tools.build:gradle:${versions.gradle}"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${versions.kotlin}"
classpath "org.jacoco:org.jacoco.core:${versions.jacocoPlugin}"
classpath "com.google.gms:google-services:${versions.googleServicesPlugin}"
classpath "com.google.firebase:perf-plugin:${versions.firebasePerfPlugin}"
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:${versions.navigation}"
classpath "com.google.android.gms:oss-licenses-plugin:${versions.ossLicenses}"
classpath "com.google.firebase:firebase-crashlytics-gradle:${versions.crashlytics}"
classpath "com.google.dagger:hilt-android-gradle-plugin:${versions.hilt}"
}
}
allprojects {
repositories {
google()
mavenCentral()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}