Search Gradle plugins

Using the plugins DSL:

plugins {
  id "org.jetbrains.kotlin.konan" version "0.8.2-rc1-3103"
}

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-rc1-3103"
  }
}

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

Using the plugins DSL:

plugins {
  id("org.jetbrains.kotlin.konan") version "0.8.2-rc1-3103"
}

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

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

Learn how to apply plugins to subprojects