Search Gradle plugins

org.jetbrains.kotlinx.rpc.platform

The plugin enforces proper artifacts versions for your project, depending on your Kotlin version. Resulting versions of the kotlinx.rpc dependencies will be 'kotlinVersion-kotlinxRpcVersion', for example '1.9.24-0.2.0', where '0.2.0' is the kotlinx.rpc version.

https://kotlinlang.org

Sources: https://github.com/Kotlin/kotlinx-rpc

Version 0.3.0 (latest)

Created 01 October 2024.

Applies the kotlinx.rpc BOM file for the project.

Add this plugin to your build using the plugins DSL:

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