android-bom
This is the BOM dependency for unified version management of Android modules.
Configure Dependency
You can add this module to your project using the following method.
Version Catalog (Recommended)
Add dependency in your project's gradle/libs.versions.toml.
[versions]
betterandroid-android-bom = "<version>"
[libraries]
betterandroid-android-bom = { module = "com.highcapable.betterandroid:android-bom", version.ref = "betterandroid-android-bom" }
betterandroid-ui-component = { module = "com.highcapable.betterandroid:ui-component" }
betterandroid-ui-component-adapter = { module = "com.highcapable.betterandroid:ui-component-adapter" }
betterandroid-ui-extension = { module = "com.highcapable.betterandroid:ui-extension" }
betterandroid-system-extension = { module = "com.highcapable.betterandroid:system-extension" }
Configure dependency in your project's build.gradle.kts.
implementation(platform(libs.betterandroid.android.bom))
implementation(libs.betterandroid.ui.component)
implementation(libs.betterandroid.ui.component.adapter)
implementation(libs.betterandroid.ui.extension)
implementation(libs.betterandroid.system.extension)
Please change <version> to the version displayed at the top of this document.
Traditional Method
Configure dependency in your project's build.gradle.kts.
implementation(platform("com.highcapable.betterandroid:android-bom:<version>"))
implementation("com.highcapable.betterandroid:ui-component")
implementation("com.highcapable.betterandroid:ui-component-adapter")
implementation("com.highcapable.betterandroid:ui-extension")
implementation("com.highcapable.betterandroid:system-extension")
Please change <version> to the version displayed at the top of this document.
Function Introduction
android-bom does not contain actual code itself. It only serves as the BOM of Android modules for unified dependency version management.
It currently manages the versions of the following modules:
Tips
Jetpack Compose related modules are not included in this BOM, and they currently still keep independent version.
