Search Gradle plugins

com.palantir.java-format-spotless

If spotless is applied, configures a java step that formats using palantir-java-format.

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

Version 2.27.0 (latest)

Created 26 September 2022.

If spotless is applied, configures a java step that formats using palantir-java-format.

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Using the plugins DSL:

plugins {
  id("com.palantir.java-format-spotless") version "2.27.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.27.0")
  }
}

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

Learn how to apply plugins to subprojects