Skip to content

Commit 5578b25

Browse files
committed
Fix annotation processors were detected on the compile classpath warning
melix/jmh-gradle-plugin#123
1 parent 10c27e4 commit 5578b25

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

platform-tests/platform-tests.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ dependencies {
5959
jmh("org.openjdk.jmh:jmh-core:${jmhVersion}") {
6060
exclude group: 'net.sf.jopt-simple', module: 'jopt-simple'
6161
}
62-
jmh("org.openjdk.jmh:jmh-generator-annprocess:${jmhVersion}")
62+
jmhAnnotationProcessor("org.openjdk.jmh:jmh-generator-annprocess:${jmhVersion}")
6363
jmh(project(':junit-jupiter-api'))
6464
jmh("junit:junit:${junit4Version}")
6565
}
@@ -69,8 +69,8 @@ jmh {
6969

7070
duplicateClassesStrategy = DuplicatesStrategy.WARN
7171
fork = 0 // Too long command line on Windows...
72-
// warmupIterations = 1
73-
// iterations = 5
72+
warmupIterations = 1
73+
iterations = 5
7474
}
7575

7676
checkstyleJmh { // use same style rules as defined for tests

0 commit comments

Comments
 (0)