-
Notifications
You must be signed in to change notification settings - Fork 0
/
dependencies.gradle
126 lines (116 loc) · 7.61 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
ext {
def kotlinVersion = rootProject.ext.kotlin_version
//libraries
coreKtxVersion = "1.7.0"
lifecycleVersion = '2.3.1'
composeVersion = '1.3.1'
composeUiVersion = '1.3.3'
composeUiToolingVersion = '1.3.3'
appcompatVersion = "1.6.0"
navigationRuntimeVersion = '2.5.3'
fragmentKtxVersion = '1.5.5'
lifecycleViewModelVersion = '2.5.1'
pagingRuntimeVersion = '3.1.1'
navigationFragmentKtxVersion = '2.5.3'
navigationUiKtxVersion = '2.5.3'
retrofitVersion = '2.9.0' // Retrofit
gsonVersion = '2.10.1' // Gson for retrofit
okHttpVersion = '4.10.0' // OkHttp
coroutinesVersion = ' 1.6.1' // Coroutines
hiltVersion = '2.45' // Hilt
kaptVersion = '2.44' // Hilt Compiler
hiltComposeVersion = '1.0.0' // Hilt Compiler
coilVersion = '2.3.0' // Coil
coilGifVersion = '2.3.0' // Coil Gif
material3Version = '1.1.0-alpha06' // Material3
materialExtendedIconsVersion = '1.1.0-alpha06' // Material Extended Icons
material3WindowVersion = '1.0.1' // Material3 Windows size
accompanistVersion = '0.27.0' // Accompanist / Pager and Indicators
accompanistSystemVersion = '0.17.0' // Accompanist / Pager and Indicators
navigationComposeVersion = '2.5.0-alpha02' // Navigation Compose
pagingComposeVersion = '1.0.0-alpha17' // Paging 3.0
constraintLayoutVersion = '2.1.4' // Constraint Compose
splashScreenVersion = '1.0.0-beta01' // Splash Screen
lottieVersion = '4.2.0' // Lottie
dataStorePreferencesVersion = '1.0.0' // DataStore Preferences
composeFoundationVersion = '1.4.0-beta02' // Compose foundations
composeUiUtilsVersion = '1.4.3' // Compose foundations
paletteVersion = '1.0.0' // Palette Color
lifecyleRuntimeVersion = '2.6.0' // Lifecycle Runtime Compose
materialMDCVersion = '1.9.0' // Material 3 for XML views
//testing
jUnitVersion = "4.13.2"
jUnitAndroidVersion = "1.1.5"
espressoVersion = "3.5.1"
composeUiTestJUnitVersion = '1.3.3'
composeUiToolingVersion = '1.3.3'
composeUiTestManifestVersion = '1.3.3'
mockkVersion = '1.13.5'
//app
appDependencies = [
kotlin : "org.jetbrains.kotlin:kotlin-stdlib-jdk8:${kotlinVersion}",
coreKtx : "androidx.core:core-ktx:${coreKtxVersion}",
lifecycle : "androidx.lifecycle:lifecycle-runtime-ktx:${lifecycleVersion}",
compose : "androidx.activity:activity-compose:${composeVersion}",
composeUi : "androidx.compose.ui:ui:${composeUiVersion}",
composeUiToolingPreview: "androidx.compose.ui:ui-tooling-preview:${composeUiToolingVersion}",
gson : "com.google.code.gson:gson:${gsonVersion}",
coroutines : "org.jetbrains.kotlinx:kotlinx-coroutines-android:${coroutinesVersion}",
hilt : "com.google.dagger:hilt-android:${hiltVersion}",
hiltCompose : "androidx.hilt:hilt-navigation-compose:${hiltComposeVersion}",
kapt : "com.google.dagger:hilt-android-compiler:${kaptVersion}",
coil : "io.coil-kt:coil-compose:${coilVersion}",
coilGif : "io.coil-kt:coil-gif:${coilGifVersion}",
material3 : "androidx.compose.material3:material3:${material3Version}",
materialExtendedIcons : "androidx.compose.material:material-icons-extended:${materialExtendedIconsVersion}",
material3Window : "androidx.compose.material3:material3-window-size-class:${material3WindowVersion}",
accompanist : "com.google.accompanist:accompanist-systemuicontroller:${accompanistSystemVersion}",
accompanistPager : "com.google.accompanist:accompanist-pager:$accompanistVersion",
navigationCompose : "androidx.navigation:navigation-compose:${navigationComposeVersion}",
navigationRuntime : "androidx.navigation:navigation-runtime:${navigationRuntimeVersion}",
splashScreen : "androidx.core:core-splashscreen:${splashScreenVersion}",
fragmentKtx : "androidx.fragment:fragment-ktx:${fragmentKtxVersion}",
navigationUiKtx : "androidx.navigation:navigation-ui-ktx:${navigationUiKtxVersion}",
navigationFragmentKtx : "androidx.navigation:navigation-fragment-ktx:${navigationFragmentKtxVersion}",
lifecycleViewModel : "androidx.lifecycle:lifecycle-viewmodel-compose:${lifecycleViewModelVersion}",
pagingCompose : "androidx.paging:paging-compose:${pagingComposeVersion}",
pagingRuntime : "androidx.paging:paging-runtime:${pagingRuntimeVersion}",
appcompat : "androidx.appcompat:appcompat:${appcompatVersion}",
constraintLayout : "androidx.constraintlayout:constraintlayout:${constraintLayoutVersion}",
lottieXML : "com.airbnb.android:lottie:${lottieVersion}",
lottieCompose : "com.airbnb.android:lottie-compose:${lottieVersion}",
composeFoundations : "androidx.compose.foundation:foundation:${composeFoundationVersion}",
composeUiUtils : "androidx.compose.ui:ui-util:${composeUiUtilsVersion}",
palette : "androidx.palette:palette:${paletteVersion}",
lifecyleRuntime : "androidx.lifecycle:lifecycle-runtime-compose:${lifecyleRuntimeVersion}",
materialMDC : "com.google.android.material:material:${materialMDCVersion}",
]
appTestDependencies = [
jUnit : "junit:junit:${jUnitVersion}",
androidJUnit : "androidx.test.ext:junit:${jUnitAndroidVersion}",
espresso : "androidx.test.espresso:espresso-core:${espressoVersion}",
composeUiTestJUnit : "androidx.compose.ui:ui-test-junit4:${composeUiTestJUnitVersion}",
composeUiTooling : "androidx.compose.ui:ui-tooling:${composeUiToolingVersion}",
composeUiTestManifest: "androidx.compose.ui:ui-test-manifest:${composeUiTestManifestVersion}"
]
//domain
domainTestDependencies = [
jUnit: "junit:junit:${jUnitVersion}",
]
//data
dataDependencies = [
retrofit : "com.squareup.retrofit2:retrofit:${retrofitVersion}",
retrofitConverter: "com.squareup.retrofit2:converter-gson:${retrofitVersion}",
okHttp : "com.squareup.okhttp3:okhttp:${okHttpVersion}",
kotlin : "org.jetbrains.kotlin:kotlin-stdlib-jdk8:${kotlinVersion}",
coreKtx : "androidx.core:core-ktx:${coreKtxVersion}",
gson : "com.google.code.gson:gson:${gsonVersion}",
datastore : "androidx.datastore:datastore-preferences:${dataStorePreferencesVersion}"
]
dataTestDependencies = [
jUnit : "junit:junit:${jUnitVersion}",
androidTestJUnit: "androidx.test.ext:junit:${jUnitAndroidVersion}",
espresso : "androidx.test.espresso:espresso-core:${espressoVersion}",
mockk : "io.mockk:mockk:${mockkVersion}",
]
}