Search Gradle plugins

Version 0.9-rc1-3632

0.9-rc1-3632

Created 31 August 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 projects containing only Kotlin/Native code (without common modules). For multiplatform development see https://plugins.gradle.org/plugin/org.jetbrains.kotlin.platform.native.

Using the plugins DSL:

plugins {
  id("org.jetbrains.kotlin.native") version "0.9-rc1-3632"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

plugins {
  id "org.jetbrains.kotlin.native" version "0.9-rc1-3632"
}

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects