The flexible, easy to use, all in one drawer library for your Android project. Now brand new with material 2 design.
- Category
- Utilities
- Publisher
- mikepenz
- Repository
- Open repository
- Release
- Open release
- Current version
- 15.3.0
- Release date
- 2026-10-13
- Package size
- Android 1.9 MB
AboutLibraries
Quickstart โก โข Showcase ๐จ โข Reference ๐ โข Migration Guide ๐งฌ
README
AboutLibraries
Quickstart โก โข Showcase ๐จ โข Reference ๐ โข Migration Guide ๐งฌ
| ๐ Kotlin Multiplatform | Android, JVM desktop, iOS, native, JS and Wasm |
| โก No runtime overhead | Everything is collected at build time and strongly cached |
| ๐จ Compose UI, your way | Material 2, Material 3 and Wear โ or build your own on core |
| ๐ Gradle plugin | Generates dependency and license metadata for any dependency |
| ๐ Compliance ready | CSV/text exports, compliance reports and license strict mode |
| ๐ฐ Funding detection | Surfaces funding options of the projects you depend on |
Quickstart
1. Apply the Gradle plugin (use com.mikepenz.aboutlibraries.plugin.android to hook into the Android build automatically):
// App build.gradle.kts
id("com.mikepenz.aboutlibraries.plugin")
2. Add the UI module matching your Material version:
implementation("com.mikepenz:aboutlibraries-compose-m3:${latestAboutLibsRelease}")
3. Show it:
val libraries by produceLibraries(R.raw.aboutlibraries)
LibrariesContainer(libraries, Modifier.fillMaxSize())
Full setup, multiplatform loading and plugin configuration live in the Reference.
Showcase
LibrariesContainer takes variant, density, detailMode and actionMode โ one component covers every look below.
Each shot is a Paparazzi render of ReadmeShowcasePreviews.kt, which passes the same arguments and theme as the sample app and varies only the one knob named above it. They follow your GitHub theme.
LibrariesVariant.Refined |
LibrariesVariant.Traditional |
|---|---|
![]() |
![]() |
LibrariesDensity.Compact |
LibrariesDensity.Cozy |
|---|---|
![]() |
![]() |
LibraryActionMode.Chips |
LibraryActionMode.Icons |
|---|---|
![]() |
Tapping a library opens its details โ inline, in a dialog, or in a bottom sheet via LibraryDetailMode:
Reference
| Topic | |
|---|---|
| Setup | Plugin application, version matrix, configuration options |
| Dependencies | Version catalog and module coordinates |
| Core module | Access the generated data programmatically |
| Compose UI | LibrariesContainer, custom rows, advanced usage |
| Enterprise / manual JSON | Full control over generation and checked-in metadata |
| Gradle tasks | Exports, compliance reports, funding |
Setup
Latest releases ๐
- Compose 1.12.x | New UI | AGP 9 | Kotlin 2.4 | Compile 37 | v15.3.0
- Compose 1.11.x | New UI | AGP 9 | Kotlin 2.4 | Compile 37 | v15.1.1
- Compose 1.10.x | AGP 9 | v14.1.0
Gradle Plugin
This is the recommended way of using the plugin. It provides tasks to generate the meta data used by the ui plugin. Note: It will not automatically generate the meta-data. For Android see the android specific plugin.
The Gradle plugin is hosted via the Gradle Plugin Portal. Using the
pluginsDSL is the recommended approach.
[!IMPORTANT]
In v13.x.y, the Gradle Plugin was split into two separate plugins:
- Main Plugin (
com.mikepenz.aboutlibraries.plugin): Provides manual tasks for generating library definitions- Android Plugin (
com.mikepenz.aboutlibraries.plugin.android): Automatically hooks into the Android build processFor most projects, the main plugin is recommended. Only use the Android plugin if you specifically need the library definitions to be generated as part of the Android build process.
See the migration guide for more details.
Using the plugins DSL (Recommended)
Default Gradle Plugin - Multiplatform
// Root build.gradle.kts
id("com.mikepenz.aboutlibraries.plugin") version "${latestAboutLibsRelease}" apply false
// App build.gradle.kts
id("com.mikepenz.aboutlibraries.plugin")
Gradle Plugin - Android
To improve configuration cache compatibility and reduce unintended behavior, the auto registering as part of the Android build was moved into its own plugin in v13.x.y.
// Root build.gradle.kts
id("com.mikepenz.aboutlibraries.plugin.android") version "${latestAboutLibsRelease}" apply false
// App build.gradle.kts
id("com.mikepenz.aboutlibraries.plugin.android")
When using the .android plugin variant:
- The library definitions are automatically generated as part of the Android build process
- The
registerAndroidTasksconfiguration no longer exists, as it now happens by default - The generated file is automatically included in your Android resources
- No manual execution of tasks is required
Using the plugins DSL (Apply to all subprojects)
// Root build.gradle
id("com.mikepenz.aboutlibraries.plugin") version "${latestAboutLibsRelease}"
Using legacy plugin application
// Root build.gradle
classpath("com.mikepenz.aboutlibraries.plugin:aboutlibraries-plugin:${latestAboutLibsRelease}")
// App build.gradle
apply plugin: 'com.mikepenz.aboutlibraries.plugin'
Gradle Plugin Configuration Options
Gradle Plugin Configuration
The plugin allows customization via the aboutLibraries extension in your build script.
aboutLibraries {
// Allow to enable "offline mode", will disable any network check of the plugin (including [fetchRemoteLicense] or pulling spdx license texts)
offlineMode = false
collect {
// Define the path configuration files are located in. E.g. additional libraries, licenses to add to the target .json
// Warning: Please do not use the parent folder of a module as path, as this can result in issues. More details: https://github.com/mikepenz/AboutLibraries/issues/936
// The path provided is relative to the modules path (not project root)
configPath = file("../config")
// (optional) GitHub token to raise API request limit to allow fetching more licenses
gitHubApiToken = if (hasProperty("github.pat")) property("github.pat")?.toString() else null
// Enable fetching of "remote" licenses. Uses the API of supported source hosts
// See https://github.com/mikepenz/AboutLibraries#special-repository-support
// A `gitHubApiToken` is required for this to work as it fetches information from GitHub's API.
fetchRemoteLicense = false
// Enables fetching of "remote" funding information. Uses the API of supported source hosts
// See https://github.com/mikepenz/AboutLibraries#special-repository-support
// A `gitHubApiToken` is required for this to work as it fetches information from GitHub's API.
fetchRemoteFunding = false
// Allows to only collect dependencies of specific variants during the `collectDependencies` step.
// filterVariants.addAll("debug", "release")
// Enable inclusion of `platform` dependencies in the library report
includePlatform = true
// Enable reporting of the Kotlin targets each library is consumed by, as a `targets` array
// on every libra




