Search Gradle plugins

Version 0.8.1

0.8.1

Created 30 July 2018.

An experimental Kotlin/Native plugin integrated with Gradle support for native languages and providing a new DSL which is much closer to the DSL of Kotlin/JVM and Kotlin/JS plugins. The plugin is intended for native parts of multiplatform projects.

Using the plugins DSL:

plugins {
  id("org.jetbrains.kotlin.platform.native") version "0.8.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("org.jetbrains.kotlin:kotlin-native-gradle-plugin:0.8.1")
  }
}

apply(plugin = "org.jetbrains.kotlin.platform.native")

Using the plugins DSL:

plugins {
  id "org.jetbrains.kotlin.platform.native" version "0.8.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "org.jetbrains.kotlin:kotlin-native-gradle-plugin:0.8.1"
  }
}

apply plugin: "org.jetbrains.kotlin.platform.native"

Learn how to apply plugins to subprojects