# yshrsmz/BuildKonfig

BuildConfig for Kotlin Multiplatform Project

Repository: https://github.com/yshrsmz/BuildKonfig
Canonical: https://ross.abutalabs.com/products/buildkonfig
Language: Kotlin
License: Apache-2.0
License Family: permissive
Topics: gradle-plugin, kotlin, kotlin-multiplatform, kotlin-mpp, buildconfig, kmp
Last push: 2026-08-24T23:42:36+00:00

## Health v2 (maintenance only)
Score: 96/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 90, longevity 100
- inputs: {"age_days": 2781, "days_push": 9, "days_rel": 70, "gap_med": 10.0, "n_releases_24m": 11}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1209, forks 47 (observed 2026-08-28T04:03:59.922088+00:00)

## What it is
A Gradle plugin that generates BuildConfig-style objects for Kotlin Multiplatform and Kotlin/JVM projects, embedding values from Gradle build files. It lets developers define configuration fields once in a shared place instead of wiring them separately per platform like Android and iOS.

## Use cases
- generate buildconfig for kotlin multiplatform project
- share config values between android and ios in kmp
- embed gradle properties into kotlin multiplatform code
- replace android buildconfig in multiplatform app
- define build fields once for all kotlin targets
- inject api keys into kotlin multiplatform builds

## When to choose
- you need BuildConfig-like constants across multiple Kotlin Multiplatform targets
- you want to avoid duplicating configuration setup per platform
- you use Gradle and Kotlin 2.1+ with KMP or Kotlin/JVM

## When to avoid
- you only build for a single platform with native tooling already handling BuildConfig
- you need runtime-configurable settings rather than compile-time constants
- your project does not use Gradle

## Facets
- artifact type: plugin
- maturity: active
- function: build-tool, configuration-management, developer-tools
- domain: developer-tools, mobile-development, cross-platform
- platform: jvm, cross-platform
- tags: gradle-plugin, kotlin-multiplatform, buildconfig, kmp, build-configuration, gradle, android, ios

## Member repositories
- yshrsmz/BuildKonfig (main) score 96

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:59.922088+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:18:37.649362+00:00, confidence not recorded.
  - readme: https://github.com/yshrsmz/BuildKonfig (fetched 2026-08-28T04:03:59.922088+00:00, sha 7b395e4dc63b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
