Search Gradle plugins

com.liferay.portal.tools.service.builder

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

https://github.com/liferay/liferay-portal/tree/master/modules/sdk/gradle-plugins-service-builder

Using the plugins DSL:

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

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.15"
  }
}

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

Using the plugins DSL:

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

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.15")
  }
}

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

Learn how to apply plugins to subprojects