Search Gradle plugins

Using the plugins DSL:

plugins {
  id("dev.mythicdrops.gradle.project.base") version "2.3.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("dev.mythicdrops:mythicdrops-gradle-plugin:2.3.1")
  }
}

apply(plugin = "dev.mythicdrops.gradle.project.base")

Using the plugins DSL:

plugins {
  id "dev.mythicdrops.gradle.project.base" version "2.3.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "dev.mythicdrops:mythicdrops-gradle-plugin:2.3.1"
  }
}

apply plugin: "dev.mythicdrops.gradle.project.base"

Learn how to apply plugins to subprojects