Search Gradle plugins

Version 3.0.0

3.0.0

Created 07 August 2015.

Add the Apache v2 license to the pom

Using the plugins DSL:

plugins {
  id("nebula.apache-license-pom") version "3.0.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.netflix.nebula:nebula-publishing-plugin:3.0.0")
  }
}

apply(plugin = "nebula.apache-license-pom")

Using the plugins DSL:

plugins {
  id "nebula.apache-license-pom" version "3.0.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.netflix.nebula:nebula-publishing-plugin:3.0.0"
  }
}

apply plugin: "nebula.apache-license-pom"

Learn how to apply plugins to subprojects