Search Gradle plugins

Migrate from React Native to Kotlin Multiplatform, one component at a time.

https://github.com/rn2kmp/gradle-plugin

Sources: https://github.com/rn2kmp/gradle-plugin.git

Version 0.1.1 (latest)

Created 01 December 2026.

Migrate from React Native to Kotlin Multiplatform, one component at a time.

Add this plugin to your build using the plugins DSL:

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