Search Gradle plugins

com.liferay.js.transpiler

The JS Transpiler Gradle plugin lets you run metal-cli in order to build Metal.js code, compile Soy files, and transpile ES6 to ES5.

https://github.com/liferay/liferay-portal/tree/master/modules/sdk/gradle-plugins-js-transpiler

Version 2.4.41

Created 24 August 2019.

The JS Transpiler Gradle plugin lets you run metal-cli to build Metal.js code, compile Soy files, and transpile ES6 to ES5.

Using the plugins DSL:

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

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.41"
  }
}

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

Using the plugins DSL:

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

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.41")
  }
}

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

Learn how to apply plugins to subprojects