Search Gradle plugins

Using the plugins DSL:

plugins {
  id("com.liferay.js.transpiler") version "2.4.6"
}

Using legacy plugin application:

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

apply(plugin = "com.liferay.js.transpiler")

Using the plugins DSL:

plugins {
  id "com.liferay.js.transpiler" version "2.4.6"
}

Using legacy plugin application:

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

apply plugin: "com.liferay.js.transpiler"

Learn how to apply plugins to subprojects