Search Gradle plugins

Version 2.0.27 (latest)

2.0.27

Created 23 May 2024.

The Theme Builder Gradle plugin lets you run the Liferay Theme Builder tool to build the Liferay theme files in your project.

Using the plugins DSL:

plugins {
  id("com.liferay.portal.tools.theme.builder") version "2.0.27"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

plugins {
  id "com.liferay.portal.tools.theme.builder" version "2.0.27"
}

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects