Search Gradle plugins

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects