Search Gradle plugins

Using the plugins DSL:

plugins {
  id "yakworks.gradle-plugin" version "2.7.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "org.yakworks:gradle-plugins:2.7.1"
  }
}

apply plugin: "yakworks.gradle-plugin"

Using the plugins DSL:

plugins {
  id("yakworks.gradle-plugin") version "2.7.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("org.yakworks:gradle-plugins:2.7.1")
  }
}

apply(plugin = "yakworks.gradle-plugin")

Learn how to apply plugins to subprojects