Search Gradle plugins

io.github.fluxo-kt.binary-compatibility-validator-js

Allows dumping TypeScript definitions of a JS part of a Kotlin multiplatform library that's public in the sense of npm package visibility, and ensures that the public definitions haven’t been changed in a way that makes this change binary incompatible.

https://github.com/fluxo-kt/fluxo-bcv-js

Sources: https://github.com/fluxo-kt/fluxo-bcv-js/tree/main

Version 1.0.0 (latest)

Created 10 June 2024.

TypeScript API support for KotlinX Binary Compatibility Validator (JS, WASM targets). Allows dumping TypeScript definitions of a JS or WASM part of a Kotlin multiplatform library that's public in the sense of npm package visibility, and ensures that the public definitions haven’t been changed in a way that makes this change binary incompatible.

Add this plugin to your build using the plugins DSL:

plugins {
  id("io.github.fluxo-kt.binary-compatibility-validator-js") version "1.0.0"
}

See also:

  • Adding the plugin to build logic for usage in precompiled script plugins.

    See the relevant documentation for more information.

    Add this plugin as a dependency to <convention-plugins-build>/build.gradle(.kts):

    dependencies {
      implementation("io.github.fluxo-kt.binary-compatibility-validator-js:io.github.fluxo-kt.binary-compatibility-validator-js.gradle.plugin:1.0.0")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("io.github.fluxo-kt.binary-compatibility-validator-js")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("io.github.fluxo-kt.binary-compatibility-validator-js:io.github.fluxo-kt.binary-compatibility-validator-js.gradle.plugin:1.0.0")
      }
    }
    
    apply(plugin = "io.github.fluxo-kt.binary-compatibility-validator-js")
  • Applying plugins to all subprojects .