Search Gradle plugins

Version 0.8

0.8

Created 10 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 projects containing only Kotlin/Native code (without common modules). For mutliplatform 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"
}

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects