-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Expand file tree
/
Copy pathlibs.versions.toml
More file actions
123 lines (107 loc) · 6.29 KB
/
Copy pathlibs.versions.toml
File metadata and controls
123 lines (107 loc) · 6.29 KB
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
# This file defines the versions and library dependencies used in the project.
# By centralizing this information, we ensure consistency across all modules
# and make it easier to manage updates. For more details on version catalogs, see:
# https://docs.gradle.org/current/userguide/version_catalog_basics.html
[versions]
# --- Project Configuration ---
# These specific versions define the Android API levels used for compilation, targeting, and minimum support.
compileSdk = "36"
minimumSdk = "23"
targetSdk = "36"
# --- Core Android & Kotlin ---
# Foundational versions for Android app development and Kotlin language features.
appcompat = "1.7.1"
core-ktx = "1.18.0"
kotlin = "2.4.0"
kotlinx-coroutines = "1.11.0"
lifecycle-extensions = "2.2.0"
lifecycle-viewmodel-ktx = "2.10.0"
material = "1.13.0"
startup-runtime = "1.2.0"
# --- Jetpack Compose ---
# Versions for Jetpack Compose, Android's modern UI toolkit.
# The Compose BOM (Bill of Materials) coordinates versions of all Compose libraries.
activity-compose = "1.13.0"
compose-bom = "2026.06.01"
# --- Google Services (Maps) ---
# Versions for Google Play Services libraries essential for map functionality.
play-services-maps = "20.0.0"
navigation-sdk = "7.6.0"
desugar-jdk-libs = "2.1.5"
# --- Testing ---
# Versions for unit and instrumented testing libraries.
androidx-test-core = "1.7.0"
junit = "4.13.2"
kxml2 = "2.3.0"
mockito-core = "5.23.0"
mockk = "1.14.11"
robolectric = "4.16.1"
truth = "1.4.5"
# --- Lint & Analysis ---
# Versions for code quality and static analysis tools.
jacoco-android = "0.2.1"
lint = "32.2.1"
org-jacoco-core = "0.8.15"
# --- Gradle Plugins ---
# Versions for Gradle plugins used in the build process.
dokka-gradle-plugin = "2.1.0"
gradle = "8.13.2"
gradleMavenPublishPlugin = "0.36.0"
secrets-gradle-plugin = "2.0.1"
[libraries]
# --- Core Android & Kotlin ---
# Essential libraries for Android development, providing backwards compatibility, lifecycle management, and Kotlin support.
appcompat = { module = "androidx.appcompat:appcompat", version.ref = "appcompat" }
core-ktx = { module = "androidx.core:core-ktx", version.ref = "core-ktx" }
kotlin-gradle-plugin = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlin" }
kotlin-stdlib-jdk8 = { module = "org.jetbrains.kotlin:kotlin-stdlib-jdk8", version.ref = "kotlin" }
kotlin-test = { module = "org.jetbrains.kotlin:kotlin-test", version.ref = "kotlin" }
kotlinx-coroutines-android = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-android", version.ref = "kotlinx-coroutines" }
kotlinx-coroutines-core = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core", version.ref = "kotlinx-coroutines" }
lifecycle-extensions = { module = "androidx.lifecycle:lifecycle-extensions", version.ref = "lifecycle-extensions" }
lifecycle-viewmodel-ktx = { module = "androidx.lifecycle:lifecycle-viewmodel-ktx", version.ref = "lifecycle-viewmodel-ktx" }
material = { group = "com.google.android.material", name = "material", version.ref = "material" }
startup-runtime = { module = "androidx.startup:startup-runtime", version.ref = "startup-runtime" }
# --- Jetpack Compose ---
# Libraries for building modern, declarative UIs.
activity-compose = { group = "androidx.activity", name = "activity-compose", version.ref = "activity-compose" }
compose-bom = { group = "androidx.compose", name = "compose-bom", version.ref = "compose-bom" }
material3 = { group = "androidx.compose.material3", name = "material3" }
ui = { group = "androidx.compose.ui", name = "ui" }
ui-graphics = { group = "androidx.compose.ui", name = "ui-graphics" }
ui-tooling = { group = "androidx.compose.ui", name = "ui-tooling" }
ui-tooling-preview = { group = "androidx.compose.ui", name = "ui-tooling-preview" }
material-icons-core = { group = "androidx.compose.material", name = "material-icons-core" }
# --- Google Services (Maps) ---
# Key libraries for integrating Google Maps and related services.
play-services-maps = { module = "com.google.android.gms:play-services-maps", version.ref = "play-services-maps" }
navigation-sdk = { module = "com.google.android.libraries.navigation:navigation", version.ref = "navigation-sdk" }
desugar-jdk-libs = { module = "com.android.tools:desugar_jdk_libs_nio", version.ref = "desugar-jdk-libs" }
# --- Testing ---
# Tools for running implementation validation and user interface tests.
androidx-test-core = { module = "androidx.test:core", version.ref = "androidx-test-core" }
junit = { module = "junit:junit", version.ref = "junit" }
kotlinx-coroutines-test = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-test", version.ref = "kotlinx-coroutines" }
kxml2 = { module = "net.sf.kxml:kxml2", version.ref = "kxml2" }
mockito-core = { module = "org.mockito:mockito-core", version.ref = "mockito-core" }
mockk = { module = "io.mockk:mockk", version.ref = "mockk" }
robolectric = { module = "org.robolectric:robolectric", version.ref = "robolectric" }
truth = { module = "com.google.truth:truth", version.ref = "truth" }
# --- Lint & Analysis ---
# Libraries and tools for static code analysis, linting, and coverage reporting.
jacoco-android = { module = "com.mxalbert.gradle:jacoco-android", version.ref = "jacoco-android" }
lint = { module = "com.android.tools.lint:lint", version.ref = "lint" }
lint-api = { module = "com.android.tools.lint:lint-api", version.ref = "lint" }
lint-checks = { module = "com.android.tools.lint:lint-checks", version.ref = "lint" }
lint-tests = { module = "com.android.tools.lint:lint-tests", version.ref = "lint" }
org-jacoco-core = { module = "org.jacoco:org.jacoco.core", version.ref = "org-jacoco-core" }
testutils = { module = "com.android.tools:testutils", version.ref = "lint" }
# --- Gradle Plugins ---
# Dependencies for custom or third-party Gradle plugins used in the build.
dokka-gradle-plugin = { module = "org.jetbrains.dokka:dokka-gradle-plugin", version.ref = "dokka-gradle-plugin" }
gradle = { module = "com.android.tools.build:gradle", version.ref = "gradle" }
gradle-maven-publish-plugin = { module = "com.vanniktech:gradle-maven-publish-plugin", version.ref = "gradleMavenPublishPlugin" }
secrets-gradle-plugin = { module = "com.google.android.libraries.mapsplatform.secrets-gradle-plugin:secrets-gradle-plugin", version.ref = "secrets-gradle-plugin" }
[plugins]
# --- Core Gradle Plugins ---
compose-compiler = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }