GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Plugins
  • Documentation
  • Publish a plugin
  • Delete a plugin
  • Mirror the plugin portal
  • Get further help
  • Forums

This view

  • Original page
  • New address

GeezerVison is showing plugins.gradle.org — Gradle - Plugin: dev.openjavaformat.java-format

Gradle Logo

Search Gradle plugins

Report incorrect plugin description

dev.openjavaformat.java-format

Owner: abashev

A modern, lambda-friendly, 120 character Java formatter. Applies all other open-java-format plugins.

https://github.com/openjavaformat/open-java-format

Sources: https://github.com/openjavaformat/open-java-format

  • #java
  • #style

Version 21.0.2 (latest)

21.0.2

Created 08 November 2026.

A modern, lambda-friendly, 120 character Java formatter. Applies all other open-java-format plugins.

Other versions
  • 21.0.1
  • 21.0.0
  • 2.98.0.6
  • 2.98.0.5
  • 2.98.0.4
  • 2.98.0.3
  • 2.98.0.2
  • 2.98.0.1

Add this plugin to your build using the plugins DSL:

plugins {
  id("dev.openjavaformat.java-format") version "21.0.2"
}

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("dev.openjavaformat.java-format:dev.openjavaformat.java-format.gradle.plugin:21.0.2")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("dev.openjavaformat.java-format")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("dev.openjavaformat.java-format:dev.openjavaformat.java-format.gradle.plugin:21.0.2")
      }
    }
    
    apply(plugin = "dev.openjavaformat.java-format")
  • Applying plugins to all subprojects .
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.