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/

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

Version 2.48.0

2.48.0

Created 30 July 2024.

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.48.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.48.0")
  }
}

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects