Skip to content
Snippets Groups Projects
Commit c254b3e4 authored by Nils Christian Ehmke's avatar Nils Christian Ehmke
Browse files

Added CPD as quality tool

parent 40593c42
No related branches found
No related tags found
No related merge requests found
......@@ -13,6 +13,16 @@ repositories {
maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
}
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'de.aaschmid.gradle.plugins:gradle-cpd-plugin:0.1'
}
}
configurations {
windowsX86Runtime
windowsX64Runtime
......@@ -53,6 +63,13 @@ pmd {
ruleSetFiles = files('config/pmd/ruleset.xml')
}
apply plugin: 'cpd'
tasks.cpd {
source = sourceSets.main.allJava
reports.xml.destination = file('build/reports/cpd/cpd.xml')
}
apply plugin: 'checkstyle'
checkstyle {
ignoreFailures = true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment