Search Gradle plugins

com.github.sgtsilvio.gradle.metadata

Gradle plugin to ease defining project metadata (urls, license, scm)

https://github.com/SgtSilvio/gradle-metadata

Version 0.3.0 (latest)

Created 07 June 2021.

Gradle plugin to ease defining project metadata (urls, license, scm)

Using the plugins DSL:

plugins {
  id "com.github.sgtsilvio.gradle.metadata" version "0.3.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.github.sgtsilvio.gradle:gradle-metadata:0.3.0"
  }
}

apply plugin: "com.github.sgtsilvio.gradle.metadata"

Using the plugins DSL:

plugins {
  id("com.github.sgtsilvio.gradle.metadata") version "0.3.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.com.github.sgtsilvio.gradle:gradle-metadata:0.3.0")
  }
}

apply(plugin = "com.github.sgtsilvio.gradle.metadata")

Learn how to apply plugins to subprojects