Search Gradle plugins

Using the plugins DSL:

plugins {
  id("com.liferay.jsdoc") version "2.0.52"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.com.liferay:gradle-plugins-jsdoc:2.0.52")
  }
}

apply(plugin = "com.liferay.jsdoc")

Using the plugins DSL:

plugins {
  id "com.liferay.jsdoc" version "2.0.52"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.liferay:gradle-plugins-jsdoc:2.0.52"
  }
}

apply plugin: "com.liferay.jsdoc"

Learn how to apply plugins to subprojects