Search Gradle plugins

Version 0.8.2

0.8.2

Created 10 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.8.2"
}

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.2")
  }
}

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

Using the plugins DSL:

plugins {
  id "org.jetbrains.kotlin.native" version "0.8.2"
}

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects