Search Gradle plugins

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects