org.jetbrains.kotlinx.rpc.plugin
Owner:
Kotlin Team
The plugin ensures correct RPC configurations for your project, that will allow proper code generation. Additionally, it 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.
Sources: https://github.com/Kotlin/kotlinx-rpc
Version 0.2.4 (latest)
0.2.4
Created 20 August 2024.
The plugin ensures correct RPC configurations for your project, that will allow proper code generation.
Additionally, it applies the kotlinx.rpc BOM file for the project.
Using the plugins DSL:
plugins {
id("org.jetbrains.kotlinx.rpc.plugin") version "0.2.4"
}
Using legacy plugin application:
buildscript {
repositories {
maven {
url = uri("https://plugins.gradle.org/m2/")
}
}
dependencies {
classpath("org.jetbrains.kotlinx:kotlinx-rpc-gradle-plugin:0.2.4")
}
}
apply(plugin = "org.jetbrains.kotlinx.rpc.plugin")
Using the plugins DSL:
plugins {
id "org.jetbrains.kotlinx.rpc.plugin" version "0.2.4"
}
Using legacy plugin application:
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "org.jetbrains.kotlinx:kotlinx-rpc-gradle-plugin:0.2.4"
}
}
apply plugin: "org.jetbrains.kotlinx.rpc.plugin"