Search Gradle plugins

Using the plugins DSL:

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

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("nl.colorize:gradle-application-plugin:2022.1")
  }
}

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

Using the plugins DSL:

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

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "nl.colorize:gradle-application-plugin:2022.1"
  }
}

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

Learn how to apply plugins to subprojects