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

Created 10 May 2019.

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

Using the plugins DSL:

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

Using legacy plugin application:

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

apply plugin: "de.aaschmid.cpd"

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects