Search Gradle plugins

Version 2.47.0 (latest)

2.47.0

Created 21 M 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.47.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.47.0")
  }
}

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects