Search Gradle plugins

Using the plugins DSL:

plugins {
  id "com.zzming.language" version "0.3.6"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.zzming.plugin:language:0.3.6"
  }
}

apply plugin: "com.zzming.language"

Using the plugins DSL:

plugins {
  id("com.zzming.language") version "0.3.6"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.com.zzming.plugin:language:0.3.6")
  }
}

apply(plugin = "com.zzming.language")

Learn how to apply plugins to subprojects