Skip to content

Commit

Permalink
Merge pull request #40 from larsgrefer/feature/auto-generate-plugin-d…
Browse files Browse the repository at this point in the history
…escriptors

Use the java-gradle-plugin to generate the plugin descriptors
  • Loading branch information
aaschmid authored May 10, 2019
2 parents 67111f9 + 8847b94 commit 9fa9de7
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.test, 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 9fa9de7

Please sign in to comment.