Search Gradle plugins

Version 2.42.0

2.42.0

Created 05 April 2024.

Exposes a configuration containing the palantir-java-format jars

Using the plugins DSL:

plugins {
  id("com.palantir.java-format-provider") version "2.42.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.42.0")
  }
}

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects