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 1.3 (latest)

Created 17 April 2019.

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

Using the plugins DSL:

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

Using legacy plugin application:

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

apply plugin: "de.aaschmid.cpd"

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects