hikage-bom

Maven CentralMaven metadata URL

This is the BOM dependency for unified version management of Hikage related modules.

Notice

Gradle plugin versions are not managed by the BOM module.

If you need hikage-gradle-plugin or hikage-declaration-gradle-plugin, declare the plugin version separately in plugins.

Configure Dependency

You can add this module to your project using the following method.

Add dependency in your project's gradle/libs.versions.toml.

[versions]
hikage-bom = "<version>"

[libraries]
hikage-bom = { module = "com.highcapable.hikage:hikage-bom", version.ref = "hikage-bom" }
hikage-core = { module = "com.highcapable.hikage:hikage-core" }
hikage-compiler = { module = "com.highcapable.hikage:hikage-compiler" }
hikage-runtime = { module = "com.highcapable.hikage:hikage-runtime" }
hikage-runtime-attribute = { module = "com.highcapable.hikage:hikage-runtime-attribute" }
hikage-extension = { module = "com.highcapable.hikage:hikage-extension" }
hikage-extension-betterandroid = { module = "com.highcapable.hikage:hikage-extension-betterandroid" }
hikage-extension-compose = { module = "com.highcapable.hikage:hikage-extension-compose" }
hikage-widget-foundation = { module = "com.highcapable.hikage:hikage-widget-foundation" }
hikage-widget-androidx = { module = "com.highcapable.hikage:hikage-widget-androidx" }
hikage-widget-material = { module = "com.highcapable.hikage:hikage-widget-material" }

Configure dependency in your project's build.gradle.kts.

implementation(platform(libs.hikage.bom))

// Please use in the module where the KSP plugin is applied.
// If you are using the plugin,
// you will no longer need to manually include the following two dependencies.
ksp(platform(libs.hikage.bom))
ksp(libs.hikage.compiler)

implementation(libs.hikage.core)
implementation(libs.hikage.runtime)
implementation(libs.hikage.runtime.attribute)
implementation(libs.hikage.extension)
implementation(libs.hikage.extension.betterandroid)
implementation(libs.hikage.extension.compose)
implementation(libs.hikage.widget.foundation)
implementation(libs.hikage.widget.androidx)
implementation(libs.hikage.widget.material)

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.hikage:hikage-bom:<version>"))

// Please use in the module where the KSP plugin is applied.
// If you are using the plugin,
// you will no longer need to manually include the following two dependencies.
ksp(platform("com.highcapable.hikage:hikage-bom:<version>"))
ksp("com.highcapable.hikage:hikage-compiler")

implementation("com.highcapable.hikage:hikage-core")
implementation("com.highcapable.hikage:hikage-runtime")
implementation("com.highcapable.hikage:hikage-runtime-attribute")
implementation("com.highcapable.hikage:hikage-extension")
implementation("com.highcapable.hikage:hikage-extension-betterandroid")
implementation("com.highcapable.hikage:hikage-extension-compose")
implementation("com.highcapable.hikage:hikage-widget-foundation")
implementation("com.highcapable.hikage:hikage-widget-androidx")
implementation("com.highcapable.hikage:hikage-widget-material")

Please change <version> to the version displayed at the top of this document.

Notice

ksp is an independent Gradle dependency configuration, so implementation(platform(...)) does not manage dependency versions declared in ksp(...). If you need to use hikage-compiler, also add hikage-bom to the ksp configuration.

We recommend you to use hikage-gradle-plugin for easier configuration.

Function Introduction

hikage-bom does not contain actual code itself. It only serves as the BOM of Hikage modules for unified dependency version management.

It currently manages the versions of the following modules: