Search Gradle plugins

Using the plugins DSL:

plugins {
  id("com.github.vlsi.license-gather") version "1.6.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.github.vlsi.gradle:license-gather-plugin:1.6.0")
  }
}

apply(plugin = "com.github.vlsi.license-gather")

Using the plugins DSL:

plugins {
  id "com.github.vlsi.license-gather" version "1.6.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.github.vlsi.gradle:license-gather-plugin:1.6.0"
  }
}

apply plugin: "com.github.vlsi.license-gather"

Learn how to apply plugins to subprojects