[Mobile] VersionsX
This repository publishes a mobilex.versions.toml
file specifically designed for Android projects. The version catalog helps manage dependencies across multiple Android projects by centralizing version definitions, making it easier to maintain consistency.
The mobilex.versions.toml
file in this repository contains version declarations for libraries and dependencies used in Android projects. By consuming this file, you can reduce redundancy and simplify version management across your projects.
To consume the version catalog in your Android project, follow these steps:
In your project’s settings.gradle.kts
, add a dependency on the android-versions
repository hosted on GitHub Packages:
dependencyResolutionManagement {
versionCatalogs {
create("libs") {
from("vn.core.libx:android-versions:1.0.0")
}
}
}
To access the android-versions
catalog from GitHub Packages, you need to configure authentication using a personal access token (PAT).
- Generate a personal access token by following GitHub's instructions.
- In your
gradle.properties
orlocal.properties
file, add the following entries:
USERNAME=GITHUB_USERNAME
TOKEN=PERSONAL_ACCESS_TOKEN