Search Gradle plugins

Using the plugins DSL:

plugins {
  id("org.danilopianini.unibo-oop-gradle-plugin") version "1.0.12"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("org.danilopianini:unibo-oop-gradle-plugin:1.0.12")
  }
}

apply(plugin = "org.danilopianini.unibo-oop-gradle-plugin")

Using the plugins DSL:

plugins {
  id "org.danilopianini.unibo-oop-gradle-plugin" version "1.0.12"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "org.danilopianini:unibo-oop-gradle-plugin:1.0.12"
  }
}

apply plugin: "org.danilopianini.unibo-oop-gradle-plugin"

Learn how to apply plugins to subprojects