Search Gradle plugins

Using the plugins DSL:

plugins {
  id("me.drmaas.ratpack-kotlin") version "1.10.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("me.drmaas:ratpack-kotlin-gradle:1.10.0")
  }
}

apply(plugin = "me.drmaas.ratpack-kotlin")

Using the plugins DSL:

plugins {
  id "me.drmaas.ratpack-kotlin" version "1.10.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "me.drmaas:ratpack-kotlin-gradle:1.10.0"
  }
}

apply plugin: "me.drmaas.ratpack-kotlin"

Learn how to apply plugins to subprojects