Search Gradle plugins

Version 3.0.1 (latest)

Created 30 January 2023.

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Using the plugins DSL:

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

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.0.1")
  }
}

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

Learn how to apply plugins to subprojects