Search Gradle plugins

Version 2.1.8

2.1.8

Created 13 April 2018.

The Service Builder Gradle plugin lets you generate a Liferay service layer defined in a Service Builder service.xml file.

Using the plugins DSL:

plugins {
  id("com.liferay.portal.tools.service.builder") version "2.1.8"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

plugins {
  id "com.liferay.portal.tools.service.builder" version "2.1.8"
}

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects