2024-03-01 22:15:59 +01:00
|
|
|
[versions]
|
2024-03-19 22:14:49 +01:00
|
|
|
compose-bom = "2024.02.02"
|
2024-03-01 22:15:59 +01:00
|
|
|
voyager = "1.0.0"
|
|
|
|
lifecycle = "2.7.0"
|
|
|
|
coil = "2.4.0"
|
|
|
|
coroutines = "1.8.0"
|
2024-03-30 19:35:43 +01:00
|
|
|
room = "2.6.1"
|
|
|
|
koin-bom = "3.5.0"
|
2024-03-01 22:15:59 +01:00
|
|
|
|
|
|
|
[libraries]
|
|
|
|
bom = { group = "androidx.compose", name = "compose-bom", version.ref = "compose-bom" }
|
|
|
|
compose-foundation = { module = "androidx.compose.foundation:foundation" }
|
|
|
|
compose-runtime = { module = "androidx.compose.runtime:runtime" }
|
|
|
|
compose-animation = { module = "androidx.compose.animation:animation" }
|
|
|
|
compose-ui = { module = "androidx.compose.ui:ui" }
|
|
|
|
compose-ui-tooling = { module = "androidx.compose.ui:ui-tooling" }
|
|
|
|
compose-ui-tooling-preview = { module = "androidx.compose.ui:ui-tooling-preview" }
|
|
|
|
# specify material3 version is required for gradle to find the dependency
|
2024-03-19 22:14:49 +01:00
|
|
|
compose-material3 = { module = "androidx.compose.material3:material3", version = "1.2.1" }
|
2024-03-01 22:15:59 +01:00
|
|
|
compose-activity = "androidx.activity:activity-compose:1.8.2"
|
|
|
|
|
|
|
|
voyager-navigator = { module = "cafe.adriel.voyager:voyager-navigator", version.ref = "voyager" }
|
2024-03-03 22:18:14 +01:00
|
|
|
voyager-screenmodel = { module = "cafe.adriel.voyager:voyager-screenmodel", version.ref = "voyager" }
|
2024-03-01 22:15:59 +01:00
|
|
|
voyager-tab-navigator = { module = "cafe.adriel.voyager:voyager-tab-navigator", version.ref = "voyager" }
|
|
|
|
voyager-koin = { module = "cafe.adriel.voyager:voyager-koin", version.ref = "voyager" }
|
|
|
|
voyager-transitions = { module = "cafe.adriel.voyager:voyager-transitions", version.ref = "voyager" }
|
|
|
|
|
|
|
|
lifecycle-viewmodel-ktx = { module = "androidx.lifecycle:lifecycle-viewmodel-ktx", version.ref = "lifecycle" }
|
|
|
|
lifecycle-viewmodel-compose = { module = "androidx.lifecycle:lifecycle-viewmodel-compose", version.ref = "lifecycle" }
|
|
|
|
lifecycle-viewmodel-savedstate = { module = "androidx.lifecycle:lifecycle-viewmodel-savedstate", version.ref = "lifecycle" }
|
|
|
|
lifecyle-runtime-compose = { module = "androidx.lifecycle:lifecycle-runtime-compose", version.ref = "lifecycle" }
|
|
|
|
|
|
|
|
coil-core = { module = "io.coil-kt:coil", version.ref = "coil" }
|
|
|
|
coil-compose = { module = "io.coil-kt:coil-compose", version.ref = "coil" }
|
|
|
|
|
|
|
|
coroutines-core = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core", version.ref = "coroutines" }
|
|
|
|
coroutines-android = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-android", version.ref = "coroutines" }
|
|
|
|
coroutines-test = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-test", version.ref = "coroutines" }
|
|
|
|
|
2024-03-30 19:35:43 +01:00
|
|
|
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-rxjava2 = { module = "androidx.room:room-rxjava2", version.ref = "room" } #TODO remove usage of this
|
|
|
|
room-paging = { module = "androidx.room:room-paging", version.ref = "room" }
|
|
|
|
room-testing = { module = "androidx.room:room-testing", version.ref = "room" }
|
|
|
|
|
|
|
|
koin-bom = { module = "io.insert-koin:koin-bom", version.ref = "koin-bom" }
|
|
|
|
koin-core = { module = "io.insert-koin:koin-core" }
|
|
|
|
koin-android = { module = "io.insert-koin:koin-android" }
|
|
|
|
koin-androidx-compose = { module = "io.insert-koin:koin-androidx-compose" }
|
|
|
|
koin-android-compat = { module = "io.insert-koin:koin-android-compat" } #TODO remove usage of this
|
|
|
|
koin-test = { module = "io.insert-koin:koin-test", version.ref = "koin-bom" }
|
|
|
|
koin-test-junit4 = { module = "io.insert-koin:koin-test-junit4", version.ref = "koin-bom" }
|
|
|
|
|
2024-03-01 22:15:59 +01:00
|
|
|
[bundles]
|
|
|
|
compose = ["bom", "compose-foundation", "compose-runtime", "compose-animation",
|
|
|
|
"compose-ui", "compose-ui-tooling", "compose-ui-tooling-preview", "compose-material3"]
|
2024-03-19 22:14:49 +01:00
|
|
|
voyager = ["voyager-navigator", "voyager-screenmodel", "voyager-tab-navigator", "voyager-koin", "voyager-transitions"]
|
2024-03-01 22:15:59 +01:00
|
|
|
lifecycle = ["lifecycle-viewmodel-ktx", "lifecycle-viewmodel-compose", "lifecycle-viewmodel-savedstate",
|
|
|
|
"lifecyle-runtime-compose"]
|
|
|
|
coil = ["coil-core", "coil-compose"]
|
|
|
|
coroutines = ["coroutines-core", "coroutines-android"]
|
2024-03-30 19:35:43 +01:00
|
|
|
room = ["room-runtime", "room-ktx", "room-rxjava2", "room-paging"]
|
|
|
|
koin = ["koin-bom", "koin-core", "koin-android", "koin-androidx-compose", "koin-android-compat"]
|
|
|
|
kointest = ["koin-test", "koin-test-junit4"]
|