Search Gradle plugins

Version 2.3.242

2.3.242

Created 29 August 2018.

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

Add this plugin to your build using the plugins DSL:

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

See also:

  • The legacy method of plugin application.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("gradle.plugin.com.liferay:gradle-plugins-source-formatter:2.3.242")
      }
    }
    
    apply(plugin = "com.liferay.source.formatter")
  • Applying plugins to all subprojects .