Search Gradle plugins

tylerthrailkill.nebula-mit-license

Adds the MIT License to the POM of a nebula publication to allow for publishing to Maven Central.

https://github.com/snowe2010/nebula-mit-license

Version 0.0.3 (latest)

Created 13 April 2019.

Adds the MIT License to the POM of a nebula publication to allow for publishing to Maven Central.

Using the plugins DSL:

plugins {
  id "tylerthrailkill.nebula-mit-license" version "0.0.3"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.tylerthrailkill.gradle:nebula-mit-license:0.0.3"
  }
}

apply plugin: "tylerthrailkill.nebula-mit-license"

Using the plugins DSL:

plugins {
  id("tylerthrailkill.nebula-mit-license") version "0.0.3"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.tylerthrailkill.gradle:nebula-mit-license:0.0.3")
  }
}

apply(plugin = "tylerthrailkill.nebula-mit-license")

Learn how to apply plugins to subprojects