-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
104 lines (103 loc) · 4.44 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext {
defaultCompileSdkVersion = 34
defaultMinSdkVersion = 21
defaultTargetSdkVersion = 33
javaCompileVersion = JavaVersion.VERSION_17
jvmTargetVersion = '17'
versions = [
activity_compose : "1.8.0",
appcompat : "1.6.1",
chrome_tab : "1.5.0",
coil : "2.3.0",
compose : "1.4.4",
compose_icon : "1.4.1",
core_ktx : "1.10.0",
coroutines : "1.6.4",
datastore : "1.0.0",
hilt : "2.46.1",
hilt_compose : "1.0.0",
lifecycle : "2.6.2",
material3 : "1.1.0",
media3 : "1.0.1",
mockito : "5.0.0",
navigation : "2.7.0-rc01",
okHttp : "4.11.0",
paging : "3.2.1",
paging_compose : "3.3.0-alpha02",
retrofit : "2.9.0",
moshi : "1.15.0",
splash_screen : '1.0.0',
youtube_player : '12.1.0',
espresso_core : "3.5.1",
junit : "4.13.2"
]
androidx = [
appcompat : "androidx.appcompat:appcompat:${versions.appcompat}",
chromeTab : "androidx.browser:browser:${versions.chrome_tab}",
composeActivity : "androidx.activity:activity-compose:${versions.activity_compose}",
composeUi : "androidx.compose.ui:ui",
composeUiGraphics : "androidx.compose.ui:ui-graphics",
composeUiToolingPreview : "androidx.compose.ui:ui-tooling-preview",
core : "androidx.core:core-ktx:${versions.core_ktx}",
lifecycle : "androidx.lifecycle:lifecycle-runtime-ktx:${versions.lifecycle}",
splashScreen : "androidx.core:core-splashscreen:${versions.splash_screen}"
]
compose = [
coil : "io.coil-kt:coil-compose:${versions.coil}",
navigation : "androidx.navigation:navigation-compose:${versions.navigation}"
]
di = [
hiltAndroid : "com.google.dagger:hilt-android:${versions.hilt}",
hiltCompose : "androidx.hilt:hilt-navigation-compose:${versions.hilt_compose}",
kapt : "com.google.dagger:hilt-android-compiler:${versions.hilt}"
]
material = [
icons : "androidx.compose.material:material-icons-extended:${versions.compose_icon}",
material3 : "androidx.compose.material3:material3:${versions.material3}"
]
media3 = [
exoplayer : "androidx.media3:media3-exoplayer:${versions.media3}",
ui : "androidx.media3:media3-ui:${versions.media3}"
]
network = [
okHttp : "com.squareup.okhttp3:okhttp:${versions.okHttp}",
retrofit : "com.squareup.retrofit2:retrofit:${versions.retrofit}",
retrofitMoshi: "com.squareup.retrofit2:converter-moshi:${versions.retrofit}",
moshi : "com.squareup.moshi:moshi:${versions.moshi}",
moshiKotlin : "com.squareup.moshi:moshi-kotlin:${versions.moshi}"
]
paging = [
compose : "androidx.paging:paging-compose:${versions.paging_compose}",
runtime : "androidx.paging:paging-runtime:${versions.paging}"
]
persistence = [
datastore : "androidx.datastore:datastore-preferences:${versions.datastore}"
]
youtube = [
player : "com.pierfrancescosoffritti.androidyoutubeplayer:core:${versions.youtube_player}"
]
androidTest = [
espressoCore : "androidx.test.espresso:espresso-core:${versions.espresso_core}",
composeUiTestJunit : "androidx.compose.ui:ui-test-junit4",
composeUiTestManifest : "androidx.compose.ui:ui-test-manifest",
composeUiTooling : "androidx.compose.ui:ui-tooling"
]
test = [
junit : "junit:junit:${versions.junit}",
coroutines : "org.jetbrains.kotlinx:kotlinx-coroutines-test:${versions.coroutines}",
mockito : "org.mockito.kotlin:mockito-kotlin:${versions.mockito}"
]
}
repositories {
google()
mavenCentral()
}
}
plugins {
id("com.android.application") version "8.1.2" apply false
id("com.android.library") version "8.1.2" apply false
id("com.google.dagger.hilt.android") version "2.44" apply false
id("org.jetbrains.kotlin.android") version "1.8.10" apply false
}