Search Gradle plugins

Version 0.16.2 (latest)

0.16.2

Created 19 October 2023.

Applies a header to files from a given template

Using the plugins DSL:

plugins {
  id("com.benjaminsproule.license") version "0.16.2"
}

Using legacy plugin application:

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

apply(plugin = "com.benjaminsproule.license")

Using the plugins DSL:

plugins {
  id "com.benjaminsproule.license" version "0.16.2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.benjaminsproule.gradle.plugins:license-gradle-plugin:0.16.2"
  }
}

apply plugin: "com.benjaminsproule.license"

Learn how to apply plugins to subprojects