Search Gradle plugins

Version 1.0.11 (latest)

1.0.11

Created 19 November 2018.

The XML Formatter Gradle plugin lets you format a project's XML files using the Liferay XML Formatter tool.

Using the plugins DSL:

plugins {
  id("com.liferay.xml.formatter") version "1.0.11"
}

Using legacy plugin application:

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

apply(plugin = "com.liferay.xml.formatter")

Using the plugins DSL:

plugins {
  id "com.liferay.xml.formatter" version "1.0.11"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.liferay:gradle-plugins-xml-formatter:1.0.11"
  }
}

apply plugin: "com.liferay.xml.formatter"

Learn how to apply plugins to subprojects