Search Gradle plugins

Version 1.0.3

1.0.3

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.3"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

apply plugin: "org.danilopianini.cpd"

Learn how to apply plugins to subprojects