-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathlibs.versions.toml
194 lines (163 loc) · 9.17 KB
/
libs.versions.toml
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
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
[versions]
# Define the dependency versions
#kotlin
kotlinVersion = "1.9.10"
kotlinJvmTarget = "17"
kotlinxCoroutines = "1.6.4"
kotlinxSerializationJson = "1.5.0"
#gradle
androidGradlePlugin = "8.1.2"
#androidx
androidxComposeBom = "2023.04.01"
androidxActivityCompose = "1.7.1"
androidxAppCompat = "1.6.1"
androidxComposeCompiler = "1.4.6"
androidxCore = "1.10.0"
androidxLifecycle = "2.6.1"
androidxNavigation = "2.5.3"
androidxEspresso = "3.5.1"
androidxTestRules = "1.5.0"
androidxTestRunner = "1.5.2"
androidxTestMonitor = "1.6.1"
androidxTestCore = "1.5.0"
androidxTestExt = "1.1.5"
#hilt
hilt = "2.45"
hilt_nav_compose = "1.0.0"
hiltExt = "1.0.0"
#jacoco
jacoco = "0.8.9"
#compose
compose_ui = "1.3.3"
compose_ui_testing = "1.4.0-beta01"
#ktx
core_ktx = "1.9.0"
#ksp
ksp = "1.8.20-1.0.11"
#coroutine
coroutine = "1.6.4"
turbine = "0.12.3"
#room
room= "2.5.1"
#ktor
ktor = "2.2.4"
#android test
junit4 = "4.13.2"
android_junit = "1.1.5"
espresso = "3.5.0"
junit = "4.13.2"
jupiter_junit = "5.10.0"
#Firebase
firebase_analytics = "21.2.2"
firebase_bom = "31.5.0"
#Mock
anotation = "1.3.0"
mockk_android = "1.13.8"
test_runner = "1.5.2"
#sonar
sonar = "4.0.0.2929"
#dokka
dokka = "1.8.10"
#ktlint
ktlint = "11.3.1"
[libraries]
# Project
android_gradle_plugin = { module = "com.android.tools.build:gradle", version.ref = "androidGradlePlugin" }
kotlin_gradle_plugin = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlinVersion" }
jacoco_core = { module = "org.jacoco:org.jacoco.core", version.ref = "jacoco" }
kotlin_serialization = { module = "org.jetbrains.kotlin:kotlin-serialization", version.ref = "kotlinVersion" }
#compose
androidx-activity-compose = { group = "androidx.activity", name = "activity-compose", version.ref = "androidxActivityCompose" }
androidx-appcompat = { group = "androidx.appcompat", name = "appcompat", version.ref = "androidxAppCompat" }
androidx-compose-bom = { group = "androidx.compose", name = "compose-bom", version.ref = "androidxComposeBom" }
androidx-compose-foundation = { group = "androidx.compose.foundation", name = "foundation" }
androidx-compose-material-iconsExtended = { group = "androidx.compose.material", name = "material-icons-extended" }
androidx-compose-material3 = { group = "androidx.compose.material3", name = "material3" }
androidx-compose-material3-windowSizeClass = { group = "androidx.compose.material3", name = "material3-window-size-class" }
androidx-compose-runtime = { group = "androidx.compose.runtime", name = "runtime" }
androidx-compose-runtime-livedata = { group = "androidx.compose.runtime", name = "runtime-livedata" }
androidx-compose-ui-test = { group = "androidx.compose.ui", name = "ui-test-junit4" }
androidx-compose-ui-tooling = { group = "androidx.compose.ui", name = "ui-tooling" }
androidx-compose-ui-manifest-test = { group = "androidx.compose.ui", name = "ui-test-manifest"}
androidx-compose-ui-tooling-preview = { group = "androidx.compose.ui", name = "ui-tooling-preview" }
androidx-compose-ui-util = { group = "androidx.compose.ui", name = "ui-util" }
androidx-compose-ui-testManifest = { group = "androidx.compose.ui", name = "ui-test-manifest" }
androidx-core-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "androidxCore" }
androidx-navigation-compose = { group = "androidx.navigation", name = "navigation-compose", version.ref = "androidxNavigation" }
androidx-lifecycle-viewModelCompose = { group = "androidx.lifecycle", name = "lifecycle-viewmodel-compose", version.ref = "androidxLifecycle" }
androidx-lifecycle-viewModel-ktx = { group = "androidx.lifecycle", name = "lifecycle-viewmodel-ktx", version.ref = "androidxLifecycle" }
androidx-navigation-testing = { group = "androidx.navigation", name = "navigation-testing", version.ref = "androidxNavigation" }
#hilt
hilt_compiler = { module = "com.google.dagger:hilt-android-compiler", version.ref = "hilt" }
hilt_android = { module = "com.google.dagger:hilt-android", version.ref = "hilt" }
hilt_test = { module = "com.google.dagger:hilt-android-testing", version.ref = "hilt" }
hilt_nav_compose = { module = "androidx.hilt:hilt-navigation-compose", version.ref = "hilt_nav_compose" }
hilt_ext_compiler = { group = "androidx.hilt", name = "hilt-compiler", version.ref = "hiltExt" }
#ktx
core_ktx = { module = "androidx.core:core-ktx", version.ref = "core_ktx" }
runtime_ktx = { module = "androidx.lifecycle:lifecycle-runtime-ktx", version.ref = "androidxLifecycle" }
#Coroutine
coroutine = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-android", version.ref = "coroutine" }
coroutine_test = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-test", version.ref = "coroutine" }
coroutine_turbine = { module = "app.cash.turbine:turbine", version.ref = "turbine" }
#Room database
room_runtime = { module = "androidx.room:room-runtime", version.ref = "room" }
room_compiler = { module = "androidx.room:room-compiler", version.ref = "room" }
room_ktx = { module = "androidx.room:room-ktx", version.ref = "room" }
room_test = { module = "androidx.room:room-testing", version.ref = "room" }
#Remote setup
ktor_core = { module = "io.ktor:ktor-client-core", version.ref = "ktor" }
ktor_client = { module = "io.ktor:ktor-client-okhttp", version.ref = "ktor" }
ktor_content_negotiation = { module = "io.ktor:ktor-client-content-negotiation", version.ref = "ktor" }
ktor_serialization = { module = "io.ktor:ktor-serialization-kotlinx-json", version.ref = "ktor" }
ktor_client_logging = { module = "io.ktor:ktor-client-logging", version.ref = "ktor" }
kotlinx_serialization = { module = "org.jetbrains.kotlinx:kotlinx-serialization-json", version.ref = "kotlinxSerializationJson" }
ktor_client_mock = { module = "io.ktor:ktor-client-mock", version.ref = "ktor" }
#Android Testing
androidx-test-core = { group = "androidx.test", name = "core", version.ref = "androidxTestCore" }
androidx-test-core-ktx = { group = "androidx.test", name = "core-ktx", version.ref = "androidxTestCore" }
androidx-test-espresso-core = { group = "androidx.test.espresso", name = "espresso-core", version.ref = "androidxEspresso" }
androidx-test-ext = { group = "androidx.test.ext", name = "junit-ktx", version.ref = "androidxTestExt" }
androidx-test-rules = { group = "androidx.test", name = "rules", version.ref = "androidxTestRules" }
androidx-test-runner = { group = "androidx.test", name = "runner", version.ref = "androidxTestRunner" }
androidx-test-monitor= { group = "androidx.test", name = "monitor", version.ref = "androidxTestMonitor" }
androidx-junit = { module = "androidx.test.ext:junit", version.ref = "android_junit" }
#Android Analytics
kotlin_stdlib = { module = "org.jetbrains.kotlin:kotlin-stdlib-common", version.ref = "kotlinVersion" }
kotlin_coroutines_core = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core", version.ref = "coroutine" }
#Android Analytics Test
kotlin_common_test = { module = "org.jetbrains.kotlin:kotlin-test-common", version.ref = "kotlinVersion" }
jupiter_junit = { module = "org.junit.jupiter:junit-jupiter", version.ref = "jupiter_junit" }
#Firebase
firebase_analytics = { module = "com.google.firebase:firebase-analytics", version.ref = "firebase_analytics" }
firebase_bom = { module = "com.google.firebase:firebase-bom", version.ref = "firebase_bom" }
#Mock
anotation = { module = "androidx.annotation:annotation", version.ref = "anotation" }
mockk_android = { module = "io.mockk:mockk-android", version.ref = "mockk_android" }
test_runner = { module = "androidx.test:runner", version.ref = "test_runner" }
[bundles]
# Define bundles/groups of libraries
compose = ["androidx.activity.compose", "androidx.compose.foundation", "androidx.navigation.compose", "androidx.compose.material3", "androidx.compose.material3.windowSizeClass", "androidx.compose.runtime","androidx.compose.ui.tooling","androidx.compose.ui.tooling.preview"]
test = ["androidx.test.core","androidx.test.ext","androidx.test.rules","androidx.test.runner"]
room = ["room.runtime", "room.ktx"]
coroutine_test = ["coroutine.test", "coroutine.turbine"]
ktx = ["core.ktx", "runtime.ktx"]
hilt = ["hilt.compiler","hilt.android","hilt.test"]
ktor = ["ktor.core", "ktor.client","ktor.content.negotiation","ktor.serialization","ktor.client.logging","kotlinx.serialization"]
firebase = ["firebase.analytics","firebase.bom","core_ktx","androidx.appcompat"]
mock =["mockk.android","anotation","test.runner"]
# Define Plugins
[plugins]
android-application = { id = "com.android.application", version.ref = "androidGradlePlugin" }
kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlinVersion" }
android-library = { id = "com.android.library", version.ref = "androidGradlePlugin" }
android-test = { id = "com.android.test", version.ref = "androidGradlePlugin" }
kotlin-jvm = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlinVersion" }
kotlin-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlinVersion" }
hilt = { id = "com.google.dagger.hilt.android", version.ref = "hilt" }
ksp = { id = "com.google.devtools.ksp", version.ref = "ksp" }
kapt = { id = "org.jetbrains.kotlin.kapt", version.ref = "kotlinVersion" }
jacoco = { id = "jacoco"}
sonar = {id= "org.sonarqube", version.ref = "sonar"}
dokka = {id = "org.jetbrains.dokka", version.ref = "dokka"}
ktlint = {id = "org.jlleitschuh.gradle.ktlint", version.ref = "ktlint"}