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.50.0 (latest)

2.50.0

Created 14 August 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.50.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.50.0")
  }
}

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects