Search Gradle plugins

Using the plugins DSL:

plugins {
  id("nl.colorize.gradle.application") version "2022.4.5"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("nl.colorize:Gradle-Application-Plugin:2022.4.5")
  }
}

apply(plugin = "nl.colorize.gradle.application")

Using the plugins DSL:

plugins {
  id "nl.colorize.gradle.application" version "2022.4.5"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "nl.colorize:Gradle-Application-Plugin:2022.4.5"
  }
}

apply plugin: "nl.colorize.gradle.application"

Learn how to apply plugins to subprojects