Search Gradle plugins

Version 1.0.4

1.0.4

Created 18 November 2024.

Gradle plugin to find duplicate code using PMDs copy/paste detection (= CPD)

Using the plugins DSL:

plugins {
  id("org.danilopianini.cpd") version "1.0.4"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("org.danilopianini:gradle-cpd-plugin:1.0.4")
  }
}

apply(plugin = "org.danilopianini.cpd")

Using the plugins DSL:

plugins {
  id "org.danilopianini.cpd" version "1.0.4"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "org.danilopianini:gradle-cpd-plugin:1.0.4"
  }
}

apply plugin: "org.danilopianini.cpd"

Learn how to apply plugins to subprojects