Skip to content

Commit

Permalink
Merge pull request #256 from reinhapa/mark-jmh-source-as-eclipse-test
Browse files Browse the repository at this point in the history
Mark jmh source set as eclipse test source
  • Loading branch information
melix committed Aug 29, 2023
2 parents 698923b + 4f25146 commit 13e83fb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/main/groovy/me/champeau/jmh/JMHPlugin.groovy
Expand Up @@ -142,7 +142,10 @@ class JMHPlugin implements Plugin<Project> {
def hasEclipseWtpPlugin = project.plugins.findPlugin(EclipseWtpPlugin)
if (hasEclipsePlugin != null || hasEclipseWtpPlugin != null) {
project.eclipse {
classpath.plusConfigurations += [project.configurations.jmh]
classpath {
plusConfigurations += [project.configurations.jmh]
testSourceSets = [project.sourceSets.test, project.sourceSets.jmh]
}
}
}
}
Expand Down

0 comments on commit 13e83fb

Please sign in to comment.