Search Gradle plugins

Version 2.0.0

2.0.0

Created 19 November 2024.

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

apply plugin: "org.danilopianini.cpd"

Learn how to apply plugins to subprojects