Search Gradle plugins

Using the plugins DSL:

plugins {
  id("io.beekeeper.gradle.plugins.formatter") version "0.16.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("io.beekeeper.gradle:beekeeper-formatter-plugin:0.16.0")
  }
}

apply(plugin = "io.beekeeper.gradle.plugins.formatter")

Using the plugins DSL:

plugins {
  id "io.beekeeper.gradle.plugins.formatter" version "0.16.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "io.beekeeper.gradle:beekeeper-formatter-plugin:0.16.0"
  }
}

apply plugin: "io.beekeeper.gradle.plugins.formatter"

Learn how to apply plugins to subprojects