Skip to content

Commit

Permalink
Use the java-gradle-plugin to generate the plugin descriptors
Browse files Browse the repository at this point in the history
  • Loading branch information
larsgrefer committed May 9, 2019
1 parent 1cf1b79 commit 6479685
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
13 changes: 12 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,17 @@ check.dependsOn integTest

gradlePlugin {
testSourceSets sourceSets.integTest

plugins {
cpd {
id = "de.aaschmid.cpd"
implementationClass = "de.aaschmid.gradle.plugins.cpd.CpdPlugin"
}
legacyCpd {
id = "cpd"
implementationClass = "de.aaschmid.gradle.plugins.cpd.CpdPlugin"
}
}
}

idea {
Expand Down Expand Up @@ -246,7 +257,7 @@ pluginBundle {
tags = [ 'duplicates', 'cpd', 'copy-paste-detection' ]

plugins {
cpdPlugin {
cpd {
id = 'de.aaschmid.cpd'
displayName = 'Gradle CPD plugin'
}
Expand Down
1 change: 0 additions & 1 deletion src/main/resources/META-INF/gradle-plugins/cpd.properties

This file was deleted.

This file was deleted.

0 comments on commit 6479685

Please sign in to comment.