Search Gradle plugins

Using the plugins DSL:

plugins {
  id("com.rickclephas.kmp.nativecoroutines") version "1.0.0-ALPHA-17"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.rickclephas.kmp:kmp-nativecoroutines-gradle-plugin:1.0.0-ALPHA-17")
  }
}

apply(plugin = "com.rickclephas.kmp.nativecoroutines")

Using the plugins DSL:

plugins {
  id "com.rickclephas.kmp.nativecoroutines" version "1.0.0-ALPHA-17"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.rickclephas.kmp:kmp-nativecoroutines-gradle-plugin:1.0.0-ALPHA-17"
  }
}

apply plugin: "com.rickclephas.kmp.nativecoroutines"

Learn how to apply plugins to subprojects