Search Gradle plugins

Version 5.1.166

5.1.166

Created 07 December 2022.

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

See also:

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