This is an automated email from the ASF dual-hosted git repository.

paulk pushed a commit to branch GROOVY_4_0_X
in repository https://gitbox.apache.org/repos/asf/groovy.git

commit b06c2e2edcefeba5425662d7d77efc2981491ac1
Author: Paint_Ninja <[email protected]>
AuthorDate: Sat Jan 7 23:34:09 2023 +0000

    Fix JMH Benchmarks
---
 build-logic/build.gradle                                         | 2 +-
 build-logic/src/main/groovy/org.apache.groovy-performance.gradle | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/build-logic/build.gradle b/build-logic/build.gradle
index c45e4c5564..fc7d774ec5 100644
--- a/build-logic/build.gradle
+++ b/build-logic/build.gradle
@@ -32,7 +32,7 @@ dependencies {
     implementation 'org.jfrog.buildinfo:build-info-extractor-gradle:4.31.0'
     implementation 'org.nosphere.apache:creadur-rat-gradle:0.8.0'
     implementation 'com.github.spotbugs.snom:spotbugs-gradle-plugin:5.0.13'
-    implementation 'me.champeau.gradle:jmh-gradle-plugin:0.5.3'
+    implementation 'me.champeau.jmh:jmh-gradle-plugin:0.6.8'
 }
 
 tasks.withType(Jar).configureEach {
diff --git a/build-logic/src/main/groovy/org.apache.groovy-performance.gradle 
b/build-logic/src/main/groovy/org.apache.groovy-performance.gradle
index fa5f5bb6ab..d33223acd4 100644
--- a/build-logic/src/main/groovy/org.apache.groovy-performance.gradle
+++ b/build-logic/src/main/groovy/org.apache.groovy-performance.gradle
@@ -24,7 +24,7 @@ plugins {
     id 'groovy'
     id 'org.apache.groovy-common'
     id 'org.apache.groovy-internal'
-    id 'me.champeau.gradle.jmh'
+    id 'me.champeau.jmh'
 }
 
 project.extensions.create("performanceTests", PerformanceTestsExtension, 
objects, tasks, configurations, dependencies, sourceSets)
@@ -50,10 +50,10 @@ dependencies {
 jmh {
     jmhVersion = versions.jmh
     if (project.hasProperty('benchInclude')) {
-        include = ['.*' + project.benchInclude + '.*']
+        includes = ['.*' + project.benchInclude + '.*']
     }
     includeTests = true
-    duplicateClassesStrategy = 'WARN'
+    duplicateClassesStrategy = DuplicatesStrategy.WARN
 }
 
 tasks.named('jmhClasses') {

Reply via email to