-
Notifications
You must be signed in to change notification settings - Fork 1
/
dependencies.gradle
155 lines (132 loc) · 5.97 KB
/
dependencies.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
ext {
def versionProperties = file('./release/version.properties')
if(!versionProperties.canRead()) {
new GradleException("Cannot read version.properties!")
}
def properties = new Properties()
properties.load(new FileInputStream(versionProperties))
def major = properties['major'].toString()
def minor = properties['minor'].toString()
def patch = properties['patch'].toString()
def appVersionName = "$major.$minor.$patch"
def appVersionCode = (major.toInteger() * 1000000) + (minor.toInteger() * 10000) + patch.toInteger()
compiler = [
javaVersion : JavaVersion.VERSION_1_8,
kotlinVersion : "1.4.21"
]
android = [
buildToolsVersion : "29.0.3",
minSdk : 23,
targetSdk : 30,
compileSdk : 30,
id : "com.mercy.kids.client",
versionName : appVersionName,
versionCode : appVersionCode,
testInstrumentationRunner : "android.support.test.runner.AndroidJUnitRunner"
]
// Libraries
kotlin = '1.4.21'
coroutine = '1.4.2'
flowbinding = '1.0.0'
appcompat = '1.2.0'
corektx = '1.3.2'
activityktx = '1.1.0'
fragmentktx = '1.2.5'
constraintlayout='2.0.4'
material='1.2.1'
lifecycleext='2.2.0'
webkit='1.4.0'
glide = '4.11.0'
navigation='2.3.2'
roomversion='2.2.6'
roomdebug='1.0.6'
datastore='1.0.0-alpha06'
hilt = '2.28-alpha'
hiltandroid = '1.0.0-alpha01'
firebasebom = '25.12.0'
firebaseads = '19.4.0'
playcore = '1.8.0'
playservice_basement = '17.4.0'
playservice_auth = '19.0.0'
retrofit = '2.9.0'
moshi = '1.11.0'
stetho = '1.5.1'
logginginterceptor = '4.9.0'
kotlinDependencies = [
"org.jetbrains.kotlin:kotlin-stdlib:$kotlin",
"org.jetbrains.kotlinx:kotlinx-coroutines-android:$coroutine",
"org.jetbrains.kotlinx:kotlinx-coroutines-play-services:1.1.1"
]
androidComponentDependncies = [
"androidx.core:core-ktx:$corektx",
"androidx.activity:activity-ktx:$activityktx",
"androidx.fragment:fragment-ktx:$fragmentktx",
"androidx.lifecycle:lifecycle-extensions:$lifecycleext",
"androidx.lifecycle:lifecycle-runtime-ktx:$lifecycleext",
"androidx.lifecycle:lifecycle-livedata-ktx:$lifecycleext"
]
flowBindingDependencies = [
"io.github.reactivecircus.flowbinding:flowbinding-android:$flowbinding",
"io.github.reactivecircus.flowbinding:flowbinding-material:$flowbinding",
"io.github.reactivecircus.flowbinding:flowbinding-activity:$flowbinding",
"io.github.reactivecircus.flowbinding:flowbinding-appcompat:$flowbinding",
"io.github.reactivecircus.flowbinding:flowbinding-core:$flowbinding",
"io.github.reactivecircus.flowbinding:flowbinding-drawerlayout:$flowbinding",
"io.github.reactivecircus.flowbinding:flowbinding-lifecycle:$flowbinding",
"io.github.reactivecircus.flowbinding:flowbinding-navigation:$flowbinding",
"io.github.reactivecircus.flowbinding:flowbinding-preference:$flowbinding",
"io.github.reactivecircus.flowbinding:flowbinding-recyclerview:$flowbinding",
"io.github.reactivecircus.flowbinding:flowbinding-swiperefreshlayout:$flowbinding",
"io.github.reactivecircus.flowbinding:flowbinding-viewpager:$flowbinding",
"io.github.reactivecircus.flowbinding:flowbinding-viewpager2:$flowbinding",
]
uiDependencies = [
"androidx.appcompat:appcompat:$appcompat",
"androidx.constraintlayout:constraintlayout:$constraintlayout",
"com.google.android.material:material:$material",
"androidx.webkit:webkit:$webkit",
"com.github.bumptech.glide:glide:$glide"
]
navigationDependencies = [
"androidx.navigation:navigation-fragment-ktx:$navigation",
"androidx.navigation:navigation-ui-ktx:$navigation",
"androidx.navigation:navigation-testing:$navigation",
"androidx.navigation:navigation-fragment-ktx:$navigation",
"androidx.navigation:navigation-ui-ktx:$navigation"
]
diDependencies = [
"com.google.dagger:hilt-android:$hilt",
"androidx.hilt:hilt-lifecycle-viewmodel:$hiltandroid",
"androidx.hilt:hilt-common:$hiltandroid"
]
diCompilerDependencies = [
"com.google.dagger:hilt-android-compiler:$hilt",
"androidx.hilt:hilt-compiler:$hiltandroid"
]
networkDependencies = [
"com.squareup.retrofit2:retrofit:$retrofit",
"com.squareup.retrofit2:adapter-rxjava3:$retrofit",
"com.facebook.stetho:stetho-okhttp3:$stetho",
"com.squareup.okhttp3:logging-interceptor:$logginginterceptor",
"com.squareup.moshi:moshi:$moshi",
"com.squareup.moshi:moshi-kotlin:$moshi",
"com.squareup.retrofit2:converter-moshi:$retrofit",
]
networkCompilerDependencies = [
"com.squareup.moshi:moshi-kotlin-codegen:$moshi"
]
firebaseDependencies = [
// 반드시 platform('com.google.firebase:firebase-bom:25.12.0') 먼저 하고 쓰세요.
"com.google.android.gms:play-services-basement:$playservice_basement",
// "com.google.android.gms:play-services-auth:$playservice_auth",
// "com.google.android.gms:play-services-ads:$firebaseads",
// "com.google.firebase:firebase-analytics-ktx",
// "com.google.firebase:firebase-crashlytics-ktx",
// "com.google.firebase:firebase-ads",
// "com.google.firebase:firebase-firestore-ktx"
]
testDependencies = [
"androidx.test.ext:junit:1.1.2",
"androidx.test.espresso:espresso-core:3.3.0"
]
}