Search Gradle plugins

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects