Search Gradle plugins

Version 1.0 (latest)

Created 08 April 2015.

MoonLicense integration into the Gradle build process

Using the plugins DSL:

plugins {
  id "info.gianlucacosta.moonlicense" version "1.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.info.gianlucacosta.moonlicense:MoonLicense-Gradle:1.0"
  }
}

apply plugin: "info.gianlucacosta.moonlicense"

Using the plugins DSL:

plugins {
  id("info.gianlucacosta.moonlicense") version "1.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.info.gianlucacosta.moonlicense:MoonLicense-Gradle:1.0")
  }
}

apply(plugin = "info.gianlucacosta.moonlicense")

Learn how to apply plugins to subprojects