com.liferay.soy
Owner: Liferay
The Soy Gradle plugin lets you compile Closure Templates into JavaScript functions. It also lets you use a custom localization mechanism in the generated .soy.js files by replacing "goog.getMsg" definitions with a different function call (e.g., "Liferay.Language.get").
https://github.com/liferay/liferay-portal/tree/master/modules/sdk/gradle-plugins-soy
Sources: https://github.com/liferay/liferay-portal/tree/master/modules/sdk/gradle-plugins-soy
Version 3.1.9
3.1.9
Created 04 March 2020.
The Soy Gradle plugin lets you compile Closure Templates into JavaScript functions. It also lets you use a custom localization mechanism in the generated .soy.js files by replacing "goog.getMsg" definitions with a different function call (e.g., "Liferay.Language.get").
Using the plugins DSL:
plugins {
id("com.liferay.soy") version "3.1.9"
}
Using legacy plugin application:
buildscript {
repositories {
maven {
url = uri("https://plugins.gradle.org/m2/")
}
}
dependencies {
classpath("gradle.plugin.com.liferay:gradle-plugins-soy:3.1.9")
}
}
apply(plugin = "com.liferay.soy")
Using the plugins DSL:
plugins {
id "com.liferay.soy" version "3.1.9"
}
Using legacy plugin application:
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "gradle.plugin.com.liferay:gradle-plugins-soy:3.1.9"
}
}
apply plugin: "com.liferay.soy"