Search Gradle plugins

com.palantir.java-format

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

https://github.com/palantir/palantir-java-format/

Version 2.25.0

Created 07 July 2022.

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

Using the plugins DSL:

plugins {
  id "com.palantir.java-format" version "2.25.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.palantir.javaformat:gradle-palantir-java-format:2.25.0"
  }
}

apply plugin: "com.palantir.java-format"

Using the plugins DSL:

plugins {
  id("com.palantir.java-format") version "2.25.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.palantir.javaformat:gradle-palantir-java-format:2.25.0")
  }
}

apply(plugin = "com.palantir.java-format")

Learn how to apply plugins to subprojects