getPluginArtifactForNative

Deprecated (with error)

This function is no longer used as only the embeddable compiler is supported. The 'kotlin.native.useEmbeddableCompilerJar' property has been removed and getPluginArtifact() is always used instead. Scheduled for removal in Kotlin 2.4.

Replace with

getPluginArtifact()

Retrieves the Maven coordinates of the legacy Kotlin/Native-specific compiler plugin associated with this supplemental Gradle plugin.

It's used only if Gradle is configured not to use the Kotlin/Native embeddable compiler JAR file. (with kotlin.native.useEmbeddableCompilerJar=false project property).

Otherwise, getPluginArtifact is used by default.