# This file is referenced in ./plugins/settings.gradle.kts to generate the version catalog. # https://docs.gradle.org/current/userguide/platforms.html#sub::toml-dependencies-format [versions] # Project android_gradle_plugin = "7.3.1" firebase_gradle_plugin = "3.0.2" kotlin = "1.7.20" ksp = "1.7.20-1.0.7" # AndroidX material = "1.6.1" corektx = "1.9.0" datastore = "1.0.0" constraintlayout = "2.1.4" recyclerview = "1.2.1" lifecycle = "2.5.1" activity_compose = "1.6.1" fragment = "1.5.5" startup = "1.1.1" # Compose compose_compiler = "1.3.2" compose_bom = "2022.11.00" # Coroutines coroutines = "1.6.4" # Accompanist accompanist = "0.27.0" # Test test_junit = "4.13.2" test_runner = "1.4.0" test_core = "1.4.0" test_mockk = "1.13.2" test_uiautomator = "2.2.0" test_junitext = "1.1.3" test_barista = "4.2.0" test_hamcrest = "2.2" test_orchestrator = "1.4.1" #other mavericks = "3.0.1" coil = "2.2.1" datetime = "0.4.0" wysiwyg = "0.7.0.1" serialization_json = "1.4.1" showkase = "1.0.0-beta14" compose_destinations = "1.7.23-beta" jsoup = "1.15.3" seismic = "1.0.3" dependencycheck = "7.4.2" # DI dagger = "2.43" anvil = "2.4.2" # quality detekt = "1.22.0" ktlint = "11.0.0" dependencygraph = "0.10" [libraries] # Project android_gradle_plugin = { module = "com.android.tools.build:gradle", version.ref = "android_gradle_plugin" } firebase_gradle_plugin = { module = "com.google.firebase:firebase-appdistribution-gradle", version.ref = "firebase_gradle_plugin" } kotlin_gradle_plugin = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlin" } # AndroidX androidx_material = { module = "com.google.android.material:material", version.ref = "material" } androidx_corektx = { module = "androidx.core:core-ktx", version.ref = "corektx" } androidx_datastore_preferences = { module = "androidx.datastore:datastore-preferences", version.ref = "datastore" } androidx_datastore_datastore = { module = "androidx.datastore:datastore", version.ref = "datastore" } androidx_constraintlayout = { module = "androidx.constraintlayout:constraintlayout", version.ref = "constraintlayout" } androidx_recyclerview = { module = "androidx.recyclerview:recyclerview", version.ref = "recyclerview" } androidx_lifecycle_runtime = { module = "androidx.lifecycle:lifecycle-runtime-ktx", version.ref = "lifecycle" } androidx_lifecycle_compose = { module = "androidx.lifecycle:compose", version.ref = "lifecycle" } androidx_lifecycle_process = { module = "androidx.lifecycle:lifecycle-process", version.ref = "lifecycle" } androidx_lifecycle_viewmodel_compose = { module = "androidx.lifecycle:lifecycle-viewmodel-compose", version.ref = "lifecycle" } androidx_activity_compose = { module = "androidx.activity:activity-compose", version.ref = "activity_compose" } androidx_fragment = { module = "androidx.fragment:fragment-ktx", version.ref = "fragment" } androidx_startup = { module = "androidx.startup:startup-runtime", version.ref = "startup" } androidx_compose_bom = { group = "androidx.compose", name = "compose-bom", version.ref = "compose_bom" } androidx_compose_foundation = { group = "androidx.compose.foundation", name = "foundation" } # Coroutines coroutines_core = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core", version.ref = "coroutines" } coroutines_test = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-test", version.ref = "coroutines" } # Accompanist accompanist_animation = { module = "com.google.accompanist:accompanist-navigation-animation", version.ref = "accompanist" } accompanist_permission = { module = "com.google.accompanist:accompanist-permissions", version.ref = "accompanist" } accompanist_material = { module = "com.google.accompanist:accompanist-navigation-material", version.ref = "accompanist" } accompanist_systemui = { module = "com.google.accompanist:accompanist-systemuicontroller", version.ref = "accompanist" } accompanist_placeholder = { module = "com.google.accompanist:accompanist-placeholder-material", version.ref = "accompanist" } accompanist_pager = { module = "com.google.accompanist:accompanist-pager", version.ref = "accompanist" } accompanist_pagerindicator = { module = "com.google.accompanist:accompanist-pager-indicators", version.ref = "accompanist" } accompanist_flowlayout = { module = "com.google.accompanist:accompanist-flowlayout", version.ref = "accompanist" } # Libraries squareup_seismic = { module = "com.squareup:seismic", version.ref = "seismic" } # Test test_junit = { module = "junit:junit", version.ref = "test_junit" } test_runner = { module = "androidx.test:runner", version.ref = "test_runner" } test_core = { module = "androidx.test:core", version.ref = "test_core" } test_corektx = { module = "androidx.test:core-ktx", version.ref = "test_core" } test_uiautomator = { module = "androidx.test.uiautomator:uiautomator", version.ref = "test_uiautomator" } test_junitext = { module = "androidx.test.ext:junit", version.ref = "test_junitext" } test_mockk = { module = "io.mockk:mockk", version.ref = "test_mockk" } test_barista = { module = "com.adevinta.android:barista", version.ref = "test_barista" } test_hamcrest = { module = "org.hamcrest:hamcrest", version.ref = "test_hamcrest" } test_orchestrator = { module = "androidx.test:orchestrator", version.ref = "test_orchestrator" } # Others mavericks_compose = { module = "com.airbnb.android:mavericks-compose", version.ref = "mavericks" } coil = { module = "io.coil-kt:coil", version.ref = "coil" } coil_compose = { module = "io.coil-kt:coil-compose", version.ref = "coil" } datetime = { module = "org.jetbrains.kotlinx:kotlinx-datetime", version.ref = "datetime" } serialization_json = { module = "org.jetbrains.kotlinx:kotlinx-serialization-json", version.ref = "serialization_json" } compose_destinations = { module = "io.github.raamcosta.compose-destinations:animations-core", version.ref = "compose_destinations" } compose_destinations_processor = { module = "io.github.raamcosta.compose-destinations:ksp", version.ref = "compose_destinations" } showkase = { module = "com.airbnb.android:showkase", version.ref = "showkase" } showkase_processor = { module = "com.airbnb.android:showkase-processor", version.ref = "showkase" } jsoup = { module = "org.jsoup:jsoup", version.ref = "jsoup" } # Di inject = { module = "javax.inject:javax.inject", version = "1" } dagger = { module = "com.google.dagger:dagger", version.ref = "dagger" } dagger_compiler = { module = "com.google.dagger:dagger-compiler", version.ref = "dagger" } anvil_compiler_api = { module = "com.squareup.anvil:compiler-api", version.ref = "anvil" } anvil_compiler_utils = { module = "com.squareup.anvil:compiler-utils", version.ref = "anvil" } # Composer wysiwyg = { module = "io.element.android:wysiwyg", version.ref = "wysiwyg" } [bundles] [plugins] android_application = { id = "com.android.application", version.ref = "android_gradle_plugin" } android_library = { id = "com.android.library", version.ref = "android_gradle_plugin" } kotlin_android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" } kotlin_jvm = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" } kapt = { id = "org.jetbrains.kotlin.kapt", version.ref = "kotlin" } ksp = { id = "com.google.devtools.ksp", version.ref = "ksp" } anvil = { id = "com.squareup.anvil", version.ref = "anvil" } detekt = { id = "io.gitlab.arturbosch.detekt", version.ref = "detekt" } ktlint = { id = "org.jlleitschuh.gradle.ktlint", version.ref = "ktlint" } dependencygraph = { id = "com.savvasdalkitsis.module-dependency-graph", version.ref = "dependencygraph" } dependencycheck = { id = "org.owasp.dependencycheck", version.ref = "dependencycheck" }