io.github.tmzk1005.java-formatter
Owner: Kang Zou
This plugin provides a mechanism to automatically (re)format your Gradle project during a Gradle build, or to verify its formatting, so that your project can converge on consistent code style regardless of user preferences, IDE settings, etc.
https://github.com/tmzk1005/formatter
Sources: https://github.com/tmzk1005/formatter
Version 1.0.1 (latest)
Created 20 September 2023.
This plugin provides a mechanism to automatically (re)format your Gradle project during a Gradle build, or to verify its formatting, so that your project can converge on consistent code style regardless of user preferences, IDE settings, etc.
Add this plugin to your build using the plugins DSL:
plugins {
id("io.github.tmzk1005.java-formatter") version "1.0.1"
}
See also:
-
Adding the plugin to build logic for usage in precompiled script plugins.
See the relevant documentation for more information.
Add this plugin as a dependency to
<convention-plugins-build>/build.gradle(.kts)
:dependencies { implementation("io.github.tmzk1005.java-formatter:io.github.tmzk1005.java-formatter.gradle.plugin:1.0.1") }
It can then be applied in the precompiled script plugin:plugins { id("io.github.tmzk1005.java-formatter") }
-
The legacy method of plugin application.
See the relevant documentation for more information.buildscript { repositories { gradlePluginPortal() } dependencies { classpath("io.github.tmzk1005.java-formatter:io.github.tmzk1005.java-formatter.gradle.plugin:1.0.1") } } apply(plugin = "io.github.tmzk1005.java-formatter")
- Applying plugins to all subprojects .