Search Gradle plugins

Version 4.0.166

4.0.166

Created 21 November 2024.

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 "4.0.166"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects