Search Gradle plugins

Using the plugins DSL:

plugins {
  id("com.github.shalousun.smart-doc") version "2.3.9-release"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.github.shalousun:smart-doc-gradle-plugin:2.3.9-release")
  }
}

apply(plugin = "com.github.shalousun.smart-doc")

Using the plugins DSL:

plugins {
  id "com.github.shalousun.smart-doc" version "2.3.9-release"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.github.shalousun:smart-doc-gradle-plugin:2.3.9-release"
  }
}

apply plugin: "com.github.shalousun.smart-doc"

Learn how to apply plugins to subprojects