Search Gradle plugins

Version 1.0.20

Created 03 May 2019.

The REST Builder Gradle plugin lets you generate a Liferay REST service layer defined in a rest.yaml file.

Using the plugins DSL:

plugins {
  id("com.liferay.portal.tools.rest.builder") version "1.0.20"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.com.liferay:gradle-plugins-rest-builder:1.0.20")
  }
}

apply(plugin = "com.liferay.portal.tools.rest.builder")

Using the plugins DSL:

plugins {
  id "com.liferay.portal.tools.rest.builder" version "1.0.20"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.liferay:gradle-plugins-rest-builder:1.0.20"
  }
}

apply plugin: "com.liferay.portal.tools.rest.builder"

Learn how to apply plugins to subprojects