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)

0.3.0

Created 01 October 2024.

Applies the kotlinx.rpc BOM file for the project.

Using the plugins DSL:

plugins {
  id("org.jetbrains.kotlinx.rpc.platform") version "0.3.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("org.jetbrains.kotlinx:kotlinx-rpc-gradle-plugin:0.3.0")
  }
}

apply(plugin = "org.jetbrains.kotlinx.rpc.platform")

Using the plugins DSL:

plugins {
  id "org.jetbrains.kotlinx.rpc.platform" version "0.3.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "org.jetbrains.kotlinx:kotlinx-rpc-gradle-plugin:0.3.0"
  }
}

apply plugin: "org.jetbrains.kotlinx.rpc.platform"

Learn how to apply plugins to subprojects