Liferay provides plugins that you can apply to your Gradle project. This reference documentation describes how to apply and use Liferay’s Gradle plugins. The following Gradle plugins are documented in this section:

  • App Javadoc Builder
  • Change Log Builder
  • CSS Builder
  • Deployment Helper
  • Gulp
  • Jasper JSPC
  • Javadoc Formatter
  • JS Module Config Generator
  • JS Transpiler
  • Lang Builder
  • Node
  • Service Builder
  • Source Formatter
  • Soy
  • Theme Builder
  • TLDDoc Builder
  • TLD Formatter
  • Whip
  • WSDD Builder
  • WSDL Builder
  • XML Formatter
  • XSD Builder

Each article section describes how to apply the plugin, what Gradle tasks the plugin provides, the plugin’s configuration properties, and the plugin’s dependencies.

App Javadoc Builder Gradle Plugin

The App Javadoc Builder Gradle plugin lets you generate API documentation as a single, combined HTML document for an application that spans different subprojects, each one representing a different...

Read More

Baseline Gradle Plugin

The Baseline Gradle plugin lets you verify that the OSGi semantic versioning rules are obeyed by your OSGi bundle. When you run the baseline task, the plugin baselines the new bundle against the...

Read More

Change Log Builder Gradle Plugin

The Change Log Builder Gradle plugin lets you generate and maintain a change log file based on the Git commits in your project. A change log file generated by this plugin looks like this # # Bundle...

Read More

CSS Builder Gradle Plugin

The CSS Builder Gradle plugin lets you run the Liferay CSS Builder tool in order to compile Sass files in your project. The plugin has been successfully tested with Gradle 2.5 up to 3.2.1. Usage To...

Read More

Deployment Helper Gradle Plugin

The Deployment Helper Gradle plugin lets you run the Liferay Deployment Helper tool to create a cluster deployable WAR from your OSGi artifacts. The plugin has been successfully tested with Gradle...

Read More

Gulp Gradle Plugin

The Gulp Gradle plugin lets you run Gulp tasks as part of your build. The plugin has been successfully tested with Gradle 2.5 up to 3.2.1. Usage To use the plugin, include it in your build script:...

Read More

Jasper JSPC Gradle Plugin

The Jasper JSPC Gradle plugin lets you run the Liferay Jasper JSPC tool to compile the JavaServer Pages (JSP) files in your project. This can be useful to check for errors in the JSP files....

Read More

Javadoc Formatter Gradle Plugin

The Javadoc Formatter Gradle plugin lets you format project Javadoc comments using the Liferay Javadoc Formatter tool. The tool lets you generate: Default @author tags to all classes. Comment stubs...

Read More

JS Module Config Generator Gradle Plugin

The JS Module Config Generator Gradle plugin lets you run the Liferay AMD Module Config Generator to generate the configuration file needed to load AMD files via combo loader in Liferay. The plugin...

Read More

JS Transpiler Gradle Plugin

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. The plugin has been successfully tested with Gradle 2.5 up to...

Read More

Lang Builder Gradle Plugin

The Lang Builder Gradle plugin lets you run the Liferay Lang Builder tool in order to sort and translate the language keys in your project. The plugin has been successfully tested with Gradle 2.5...

Read More

Node Gradle Plugin

The Node Gradle plugin lets you run Node.js and NPM as part of your build. The plugin has been successfully tested with Gradle 2.5 up to 3.2.1. Usage To use the plugin, include it in your build...

Read More

Service Builder Gradle Plugin

The Service Builder Gradle plugin allows you to generate a service layer defined in a Service Builder service.xml file. The plugin has been successfully tested with Gradle 2.5 up to 3.2.1. Usage To...

Read More

Source Formatter Gradle Plugin

The Source Formatter Gradle plugin lets you format project files using the Liferay Source Formatter tool. The plugin has been successfully tested with Gradle 2.5 up to 3.2.1. Usage To use the...

Read More

Soy Gradle Plugin

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...

Read More

Theme Builder Gradle Plugin

The Theme Builder Gradle plugin lets you run the Liferay Theme Builder tool to build the Liferay theme files in your project. The plugin has been successfully tested with Gradle 2.5 up to 3.2.1....

Read More

TLDDoc Builder Gradle Plugin

The TLDDoc Builder Gradle plugin lets you run the Tag Library Documentation Generator tool in order to generate documentation for the JSP Tag Library Descriptor (TLD) files in your project. The...

Read More

TLD Formatter Gradle Plugin

The TLD Formatter Gradle plugin lets you format a project’s TLD files using the Liferay TLD Formatter tool. The plugin has been successfully tested with Gradle 2.5 up to 3.2.1. Usage To use the...

Read More

Whip Gradle Plugin

The Whip Gradle plugin allows you to use the Liferay Whip library in order to ensure that unit tests fully cover your project’s code. See here for a usage sample. The plugin has been successfully...

Read More

WSDD Builder Gradle Plugin

The WSDD Builder Gradle plugin lets you run the Liferay WSDD Builder tool in order to generate the Apache Axis Web Service Deployment Descriptor (WSDD) files from a Service Builder service.xml...

Read More

WSDL Builder Gradle Plugin

The WSDL Builder Gradle plugin allows you to generate Apache Axis client stubs from Web Service Description (WSDL) files. The plugin has been successfully tested with Gradle 2.5 up to 3.2.1. Usage...

Read More

XML Formatter Gradle Plugin

The XML Formatter Gradle plugin lets you format a project’s XML files using the Liferay XML Formatter tool. The plugin has been successfully tested with Gradle 2.5 up to 3.2.1. Usage To use the...

Read More

XSD Builder Gradle Plugin

The XSD Builder Gradle plugin allows you to generate Apache XMLBeans bindings from XML Schema (XSD) files. The plugin has been successfully tested with Gradle 2.5 up to 3.2.1. Usage To use the...

Read More
0 (0 Votes)
Understanding Liferay Faces Portal Previous