io.github.costajohnt.groovyfmt
CC-compatible
Owner:
John Costa
Formats and lints Groovy, Gradle build scripts and Jenkinsfiles with groovyfmt, downloading and verifying its release binary.
https://github.com/costajohnt/groovyfmt/tree/main/gradle-plugin
Version 0.30.4
Created 20 November 2026.
Formats and lints Groovy, Gradle build scripts and Jenkinsfiles with groovyfmt, downloading and verifying its release binary.
Add this plugin to your build using the plugins DSL:
plugins {
id("io.github.costajohnt.groovyfmt") version "0.30.4"
}
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.costajohnt.groovyfmt:io.github.costajohnt.groovyfmt.gradle.plugin:0.30.4") }It can then be applied in the precompiled script plugin:plugins { id("io.github.costajohnt.groovyfmt") } -
The legacy method of plugin application.
See the relevant documentation for more information.buildscript { repositories { gradlePluginPortal() } dependencies { classpath("io.github.costajohnt.groovyfmt:io.github.costajohnt.groovyfmt.gradle.plugin:0.30.4") } } apply(plugin = "io.github.costajohnt.groovyfmt") - Applying plugins to all subprojects .