Search Gradle plugins

Using the plugins DSL:

plugins {
  id("org.groovymc.modsdotgroovy") version "2.0.0-beta.15"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("org.groovymc.modsdotgroovy:gradle-plugin:2.0.0-beta.15")
  }
}

apply(plugin = "org.groovymc.modsdotgroovy")

Using the plugins DSL:

plugins {
  id "org.groovymc.modsdotgroovy" version "2.0.0-beta.15"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "org.groovymc.modsdotgroovy:gradle-plugin:2.0.0-beta.15"
  }
}

apply plugin: "org.groovymc.modsdotgroovy"

Learn how to apply plugins to subprojects