Skip to content

Commit

Permalink
added gradle-cpd-plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
aaschmid committed Apr 25, 2014
1 parent 43a76f3 commit 7b18622
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ apply plugin: 'eclipse'
apply plugin: 'jacoco'
apply plugin: 'java'
apply plugin: 'findbugs'
apply plugin: 'cpd'

buildscript {
repositories {
Expand All @@ -11,6 +12,7 @@ buildscript {

dependencies {
classpath 'org.kt3k.gradle.plugin:coveralls-gradle-plugin:0.4.0'
classpath 'de.aaschmid.gradle.plugins:gradle-cpd-plugin:0.1'
}
}

Expand Down Expand Up @@ -90,6 +92,11 @@ findbugs {
ignoreFailures = true
}

tasks.cpd {
minimumTokenCount = 25
source = sourceSets.main.java.srcDirs + sourceSets.test.java.srcDirs
}

artifacts {
archives jar
archives javadocJar
Expand Down

0 comments on commit 7b18622

Please sign in to comment.