Plugins
The kotlinx.rpc
library offers a Gradle plugin that simplifies project configuration by automating repetitive tasks: `org.jetbrains.kotlinx.rpc.plugin`
org.jetbrains.kotlinx.rpc.plugin
The org.jetbrains.kotlinx.rpc.plugin
plugin sets up code generation configurations.
plugins {
kotlin("jvm") version "2.0.21"
id("org.jetbrains.kotlinx.rpc.plugin") version "0.4.0"
}
For multi-project setups where you define your RPC services in one set of subprojects and use them in another, you can add the plugin only to modules with service definitions.
Last modified: 05 November 2024