-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild-version.gradle
147 lines (127 loc) · 7.33 KB
/
build-version.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
ext {
application = [
id : 'com.ddd4.dropit',
archiveName : 'dropit'
]
projects = [
buildGradle : '4.1.1',
kotlinGradle : "1.4.10",
gmsGradle : '4.3.3',
crashlyticsGradle : '2.4.1',
naviArgsGradle : "2.2.0",
hiltGradle : "2.28.3-alpha"
]
configs = [
minSdk : 23,
compileSdk : 30,
buildSdk : '30.0.2',
targetSdk : 30,
versionCode : 10101,
versionName : '1.1.0',
]
versions = [
//Android
kotlin : '1.4.10',
appcompat : '1.3.0-alpha02',
ktx : '1.3.2',
constraintlayout : '2.0.4',
material : '1.3.0-alpha03',
legacySupport : '1.0.0',
fragmentKtx : '1.2.5',
//Logger
timber : '4.7.1',
// firebase
firebaseBom : '26.1.0',
//Navigation Component
navigation : '2.3.1',
//DI
hilt : '2.28.3-alpha',
hiltLifecycle : '1.0.0-alpha02',
//Coroutines
coroutines : '1.3.7',
//Lifecycle
lifecycle : '2.2.0',
//Room
room : '2.2.5',
//Retrofit
retrofit : '2.9.0',
okhttp : '4.9.0',
//Glide
glide : '4.11.0',
// unit test
truth : '1.0.1',
junit : '4.12',
robolectric : '4.3.1',
androidxTest : '1.1.0',
androidxTestJunit : '1.1.2-rc01',
androidTestRunner : '1.3.0-beta01',
espresso : '3.2.0',
mockitoKotlin : '2.2.0',
mockitoInline : '3.3.3',
debugdb : '1.0.6',
archCompoment : '2.1.0',
]
modularization = [
presentation : ':presentation',
domain : ':domain',
data : ':data',
remote : ':remote',
local : ':local'
]
libraries = [
//Android
kotlin : "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$versions.kotlin",
appcompat : "androidx.appcompat:appcompat:$versions.appcompat",
ktx : "androidx.core:core-ktx:$versions.ktx",
constraintLayout : "androidx.constraintlayout:constraintlayout:$versions.constraintlayout",
material : "com.google.android.material:material:$versions.material",
legacySupport : "androidx.legacy:legacy-support-v4:$versions.legacySupport",
fragmentKtx : "androidx.fragment:fragment-ktx:$versions.fragmentKtx",
//Logger
timber : "com.jakewharton.timber:timber:$versions.timber",
// firebase
firebaseBom : "com.google.firebase:firebase-bom:$versions.firebaseBom",
firebaseAnalytics : "com.google.firebase:firebase-analytics-ktx",
firebaseCrashlytics : "com.google.firebase:firebase-crashlytics-ktx",
//Navigation Component
navigationFragment : "androidx.navigation:navigation-fragment-ktx:$versions.navigation",
navigationUi : "androidx.navigation:navigation-ui-ktx:$versions.navigation",
//Hilt
hilt : "com.google.dagger:hilt-android:$versions.hilt",
hiltCompiler : "com.google.dagger:hilt-android-compiler:$versions.hilt",
hiltLifecycle : "androidx.hilt:hilt-lifecycle-viewmodel:$versions.hiltLifecycle",
hiltLifecycleCompiler : "androidx.hilt:hilt-compiler:$versions.hiltLifecycle",
//Coroutines
coroutinesCore : "org.jetbrains.kotlinx:kotlinx-coroutines-core:$versions.coroutines",
coroutinesAndroid : "org.jetbrains.kotlinx:kotlinx-coroutines-android:$versions.coroutines",
//Architecture Component
lifecycleViewmodel : "androidx.lifecycle:lifecycle-viewmodel-ktx:$versions.lifecycle",
lifecycleLivedata : "androidx.lifecycle:lifecycle-livedata-ktx:$versions.lifecycle",
lifecycleViewmodelState : "androidx.lifecycle:lifecycle-viewmodel-savedstate:$versions.lifecycle",
lifecycleCompiler : "androidx.lifecycle:lifecycle-compiler:$versions.lifecycle",
//Room
roomRuntime : "androidx.room:room-runtime:$versions.room",
roomKtx : "androidx.room:room-ktx:$versions.room",
roomCompiler : "androidx.room:room-compiler:$versions.room",
//Retrofit
retrofit : "com.squareup.retrofit2:retrofit:$versions.retrofit",
retrofitGson : "com.squareup.retrofit2:converter-gson:$versions.retrofit",
okhttp : "com.squareup.okhttp3:okhttp:$versions.okhttp",
okhttpLogging : "com.squareup.okhttp3:logging-interceptor:$versions.okhttp",
//Glide
glide : "com.github.bumptech.glide:glide:$versions.glide",
glideCompiler : "com.github.bumptech.glide:compiler:$versions.glide",
]
testing = [
junit : "junit:junit:$versions.junit",
mockitoKOtlin : "com.nhaarman.mockitokotlin2:mockito-kotlin:$versions.mockitoKotlin",
mockitoInline : "org.mockito:mockito-inline:$versions.mockitoInline",
robolectric : "org.robolectric:robolectric:$versions.robolectric", //testImplementation
truth : "com.google.truth:truth:$versions.truth", //androidTestImplementation
androidxTest : "androidx.test:core:$versions.androidxTest", //androidTestImplementation
androidxJunit : "androidx.test.ext:junit:$versions.androidxTestJunit", //androidTestImplementation
androidTestRunner : "com.android.support.test:runner:$versions.androidTestRunner", //androidTestImplementation
espresso : "androidx.test.espresso:espresso-core:$versions.espresso", //androidTestImplementation
archCoreTest : "androidx.arch.core:core-testing:$versions.archCompoment" //testImplementation
]
}