com.liferay.js.transpiler
Owner: Liferay
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
Sources: https://github.com/liferay/liferay-portal/tree/master/modules/sdk/gradle-plugins-js-transpiler
Version 2.4.10
Created 08 May 2018.
The JS Transpiler Gradle plugin lets you run metal-cli to build Metal.js code, compile Soy files, and transpile ES6 to ES5.
Add this plugin to your build using the plugins DSL:
plugins {
id("com.liferay.js.transpiler") version "2.4.10"
}
See also:
-
Adding the plugin to build logic for usage in precompiled script plugins.
See the relevant documentation for more information.
Add this plugin as a dependency to
<convention-plugins-build>/build.gradle(.kts)
:dependencies { implementation("com.liferay.js.transpiler:com.liferay.js.transpiler.gradle.plugin:2.4.10") }
It can then be applied in the precompiled script plugin:plugins { id("com.liferay.js.transpiler") }
-
The legacy method of plugin application.
See the relevant documentation for more information.buildscript { repositories { gradlePluginPortal() } dependencies { classpath("com.liferay.js.transpiler:com.liferay.js.transpiler.gradle.plugin:2.4.10") } } apply(plugin = "com.liferay.js.transpiler")
- Applying plugins to all subprojects .