Search Gradle plugins

Version 3.0.1

Created 12 August 2015.

Add the Apache v2 license to the pom

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects