Search Gradle plugins

me.nathanfallet.kotlinjsfix

Allows to temporarily fix Kotlin/JS compiler, like export interfaces to JS and use them in TypeScript without __doNotUseOrImplementIt

https://github.com/nathanfallet/kotlin-js-fix

Sources: https://github.com/nathanfallet/kotlin-js-fix.git

Version 1.0.1 (latest)

Created 04 March 2025.

Allows to temporarily fix Kotlin/JS compiler, like export interfaces to JS and use them in TypeScript without __doNotUseOrImplementIt

Add this plugin to your build using the plugins DSL:

plugins {
  id("me.nathanfallet.kotlinjsfix") version "1.0.1"
}

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("me.nathanfallet.kotlinjsfix:me.nathanfallet.kotlinjsfix.gradle.plugin:1.0.1")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("me.nathanfallet.kotlinjsfix")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("me.nathanfallet.kotlinjsfix:me.nathanfallet.kotlinjsfix.gradle.plugin:1.0.1")
      }
    }
    
    apply(plugin = "me.nathanfallet.kotlinjsfix")
  • Applying plugins to all subprojects .