Search Gradle plugins

Using the plugins DSL:

plugins {
  id("com.rickclephas.kmp.nativecoroutines") version "0.12.4-new-mm"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

plugins {
  id "com.rickclephas.kmp.nativecoroutines" version "0.12.4-new-mm"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.rickclephas.kmp:kmp-nativecoroutines-gradle-plugin:0.12.4-new-mm"
  }
}

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

Learn how to apply plugins to subprojects