Search Gradle plugins

Using the plugins DSL:

plugins {
  id("io.github.witgelm.eventscheme") version "1.5.3"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("io.github.witgelm.plugins:plugin:1.5.3")
  }
}

apply(plugin = "io.github.witgelm.eventscheme")

Using the plugins DSL:

plugins {
  id "io.github.witgelm.eventscheme" version "1.5.3"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "io.github.witgelm.plugins:plugin:1.5.3"
  }
}

apply plugin: "io.github.witgelm.eventscheme"

Learn how to apply plugins to subprojects