Search Gradle plugins

Version 2.4.0 (latest)

Created 07 January 2022.

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects