kotlinx.rpc 0.9.1 Help

Gradle plugin

The kotlinx.rpc library offers a Gradle plugin that simplifies project configuration by automating repetitive tasks and configuring code generation.

plugins { kotlin("jvm") version "2.2.0" id("org.jetbrains.kotlinx.rpc.plugin") version "0.9.1" }

Plugin provides an rpc extension:

rpc { annotationTypeSafetyEnabled = true }

Options:

  • annotationTypeSafetyEnabled - whether to enable type safety checks for annotations. See Annotation type-safety.

Last modified: 13 June 2025