Search Gradle plugins

Using the plugins DSL:

plugins {
  id("de.klg71.keycloakmigrationplugin") version "0.2.74"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("de.klg71:plugin:0.2.74")
  }
}

apply(plugin = "de.klg71.keycloakmigrationplugin")

Using the plugins DSL:

plugins {
  id "de.klg71.keycloakmigrationplugin" version "0.2.74"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "de.klg71:plugin:0.2.74"
  }
}

apply plugin: "de.klg71.keycloakmigrationplugin"

Learn how to apply plugins to subprojects