Liferay provides plugins that you can apply to your Gradle project. This reference documentation describes how to apply and use Liferay’s Gradle plugins.

Important: If you’re using Liferay Workspace to create Liferay apps, most of the Liferay Gradle plugins covered in this section are already applied by default. The com.liferay.gradle.plugins.workspace and com.liferay.gradle.plugins dependencies provide them, both of which are preset in workspace by default.

Do not apply a Liferay Gradle plugin to an app that already has access to it.

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

App Docker Gradle Plugin

The App Docker Gradle plugin lets you build a single Docker image for an application that spans different subprojects, each one representing a different component of the same application. The...

Weiterlesen

Resolving Common Output Errors Reported by the resolve Task

Liferay Workspace provides the resolve Gradle task to validate modules. This is very useful for finding issues and reporting them as output before deployment. For more information on running this...

Weiterlesen

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

Weiterlesen

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

Weiterlesen

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

Weiterlesen

CSS Builder Gradle Plugin

The CSS Builder Gradle plugin lets you run the Liferay CSS Builder tool to compile Sass files in your project. The plugin has been successfully tested with Gradle 4.10.2. Usage To use the plugin,...

Weiterlesen

DB Support Gradle Plugin

The DB Support Gradle plugin lets you run the Liferay DB Support tool to execute certain actions on a local Liferay database. So far, the following actions are available: Cleans the Liferay...

Weiterlesen

Dependency Checker Gradle Plugin

The Dependency Checker Gradle plugin lets you warn users if a specific configuration dependency is not the latest one available from the Maven central repository. The plugin eventually fails the...

Weiterlesen

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

Weiterlesen

Go Gradle Plugin

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

Weiterlesen

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 4.10.2. Usage To use the plugin, include it in your build script:...

Weiterlesen

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

Weiterlesen

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

Weiterlesen

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

Weiterlesen

JS Transpiler Gradle Plugin

The JS Transpiler Gradle plugin lets you run metal-cli to build Metal.js code, compile Soy files, and transpile ES6 to ES5. The plugin has been successfully tested with Gradle 4.10.2. Usage To use...

Weiterlesen

JSDoc Gradle Plugin

The JSDoc Gradle plugin lets you run the JSDoc tool in order to generate documentation for your project’s JavaScript files. The plugin has been successfully tested with Gradle 4.10.2. Usage To use...

Weiterlesen

Lang Builder Gradle Plugin

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

Weiterlesen

Maven Plugin Builder Gradle Plugin

The Maven Plugin Builder Gradle Plugin lets you generate the Maven plugin descriptor for any Mojos found in your project. The plugin has been successfully tested with Gradle 4.10.2. Usage To use...

Weiterlesen

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 4.10.2. Usage To use the plugin, include it in your build script:...

Weiterlesen

Service Builder Gradle Plugin

The Service Builder Gradle plugin lets you generate a service layer defined in a Service Builder service.xml file. The plugin has been successfully tested with Gradle 4.10.2. Usage To use the...

Weiterlesen

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 4.10.2. Usage To use the plugin,...

Weiterlesen

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

Weiterlesen

Target Platform Gradle Plugin

The Target Platform Gradle plugin helps with building multiple projects against a declared API target platform. Java dependencies can be managed with Maven BOMs and OSGi modules can be resolved...

Weiterlesen

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 4.10.2. Usage To...

Weiterlesen

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 4.10.2. Usage To use the plugin,...

Weiterlesen

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

Weiterlesen

Whip Gradle Plugin

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

Weiterlesen

WSDD Builder Gradle Plugin

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

Weiterlesen

WSDL Builder Gradle Plugin

The WSDL Builder Gradle plugin lets you generate Apache Axis client stubs from Web Service Description (WSDL) files. The plugin has been successfully tested with Gradle 4.10.2. Usage To use the...

Weiterlesen

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 4.10.2. Usage To use the plugin,...

Weiterlesen

XSD Builder Gradle Plugin

The XSD Builder Gradle plugin lets you generate Apache XMLBeans bindings from XML Schema (XSD) files. The plugin has been successfully tested with Gradle 4.10.2. Usage To use the plugin, include it...

Weiterlesen
0 (0 Stimmen)
Understanding the Page Layout Zurück