Search Gradle plugins

de.aaschmid.cpd

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

https://github.com/aaschmid/gradle-cpd-plugin

Version 3.3 (latest)

Created 07 September 2021.

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

Using the plugins DSL:

plugins {
  id "de.aaschmid.cpd" version "3.3"
}

Using legacy plugin application:

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

apply plugin: "de.aaschmid.cpd"

Using the plugins DSL:

plugins {
  id("de.aaschmid.cpd") version "3.3"
}

Using legacy plugin application:

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

apply(plugin = "de.aaschmid.cpd")

Learn how to apply plugins to subprojects