Search Gradle plugins

Version 0.1.0 (latest)

Created 15 October 2020.

Example plugin for the LSS course

Using the plugins DSL:

plugins {
  id "it.unibo.lss2020.greetings-plugin" version "0.1.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.it.unibo.lss2020:greetings-plugin:0.1.0"
  }
}

apply plugin: "it.unibo.lss2020.greetings-plugin"

Using the plugins DSL:

plugins {
  id("it.unibo.lss2020.greetings-plugin") version "0.1.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.it.unibo.lss2020:greetings-plugin:0.1.0")
  }
}

apply(plugin = "it.unibo.lss2020.greetings-plugin")

Learn how to apply plugins to subprojects