Search Gradle plugins

Version 3.1.2 (latest)

3.1.2

Created 06 July 2024.

Decide what to configure based on changes relative to `origin/main`

Using the plugins DSL:

plugins {
  id("com.diffplug.if-git-diff") version "3.1.2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.diffplug.spotless-changelog:spotless-changelog-plugin-gradle:3.1.2")
  }
}

apply(plugin = "com.diffplug.if-git-diff")

Using the plugins DSL:

plugins {
  id "com.diffplug.if-git-diff" version "3.1.2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.diffplug.spotless-changelog:spotless-changelog-plugin-gradle:3.1.2"
  }
}

apply plugin: "com.diffplug.if-git-diff"

Learn how to apply plugins to subprojects