Search Gradle plugins

com.liferay.source.formatter

The Source Formatter Gradle plugin lets you format project files using the Liferay Source Formatter tool.

https://github.com/liferay/liferay-portal/tree/master/modules/sdk/gradle-plugins-source-formatter

Version 2.3.81

Created 15 February 2018.

The Source Formatter Gradle plugin lets you format project files using the Liferay Source Formatter tool.

Using the plugins DSL:

plugins {
  id "com.liferay.source.formatter" version "2.3.81"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

plugins {
  id("com.liferay.source.formatter") version "2.3.81"
}

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects