Search Gradle plugins

Using the plugins DSL:

plugins {
  id("io.beekeeper.gradle.plugins.license-check") version "0.9.7"
}

Using legacy plugin application:

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

apply(plugin = "io.beekeeper.gradle.plugins.license-check")

Using the plugins DSL:

plugins {
  id "io.beekeeper.gradle.plugins.license-check" version "0.9.7"
}

Using legacy plugin application:

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

apply plugin: "io.beekeeper.gradle.plugins.license-check"

Learn how to apply plugins to subprojects