Owner:
Isuru Rajapakse
Adds the Kotlin/Native NuGet annotations, such as @CSharpName, to a Kotlin Multiplatform module that does not apply the main plugin
Version 0.9.0 (latest)
Created 05 October 2026.
Adds the Kotlin/Native NuGet annotations, such as @CSharpName, to a Kotlin Multiplatform module that does not apply the main plugin
Add this plugin to your build using the plugins DSL:
plugins {
id("io.github.xxfast.kotlin.native.nuget.annotations") version "0.9.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("io.github.xxfast.kotlin.native.nuget.annotations:io.github.xxfast.kotlin.native.nuget.annotations.gradle.plugin:0.9.0") }It can then be applied in the precompiled script plugin:plugins { id("io.github.xxfast.kotlin.native.nuget.annotations") } -
The legacy method of plugin application.
See the relevant documentation for more information.buildscript { repositories { gradlePluginPortal() } dependencies { classpath("io.github.xxfast.kotlin.native.nuget.annotations:io.github.xxfast.kotlin.native.nuget.annotations.gradle.plugin:0.9.0") } } apply(plugin = "io.github.xxfast.kotlin.native.nuget.annotations") - Applying plugins to all subprojects .