Skip to content

Commit 8fb4640

Browse files
Remove redundant addition of JMH to classpath (#7257)
Remove manual addition of JMH classpath in build file. Gradle adds classpath for all sourceSets to Eclipse by default as fixed in Gradle 6.8 by PR 14534. The JMH sourceSet is added by the JMH Plugin. Tested by running 'eclipse' task in Eclipse 2021-03 (4.19.0). Then refreshing, and JMH still on classpath and viewable in Eclipse. Then removed project from Eclipse, ran 'cleanEclipse', and re-imported project to Eclipse. All successful.
1 parent 06294de commit 8fb4640

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

build.gradle

-4
Original file line numberDiff line numberDiff line change
@@ -126,10 +126,6 @@ jmh {
126126
}
127127
}
128128

129-
plugins.withType(EclipsePlugin) {
130-
project.eclipse.classpath.plusConfigurations += [configurations.jmh]
131-
}
132-
133129
test {
134130
testLogging {
135131
// showing skipped occasionally should prevent CI timeout due to lack of standard output

0 commit comments

Comments
 (0)