kotlin-binary-compatibility-validator
Installation
SKILL.md
<essential_principles>
Binary Compatibility Validator (BCV) — Gradle plugin by JetBrains that dumps and validates the public binary API of Kotlin/JVM (and experimentally KLib) libraries. Prevents accidental binary-incompatible changes. Apache 2.0.
Status: Maintenance mode (v0.18.1). Critical fixes and Kotlin version support continue. New features go to the experimental validation in the Kotlin Gradle plugin.
Quick Setup
Apply to the root project only — subprojects are configured automatically:
// build.gradle.kts
plugins {
id("org.jetbrains.kotlinx.binary-compatibility-validator") version "0.18.1"
}
Requires Gradle ≥ 6.1.1 and Kotlin ≥ 1.6.20.