You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by su...@apache.org on 2023/01/12 18:42:25 UTC
[groovy] branch master updated: Fix JMH Benchmarks
This is an automated email from the ASF dual-hosted git repository.
sunlan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy.git
The following commit(s) were added to refs/heads/master by this push:
new 2485cacf22 Fix JMH Benchmarks
2485cacf22 is described below
commit 2485cacf2208ae2d5d04d410c91b9a0191a82188
Author: Paint_Ninja <Pa...@users.noreply.github.com>
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') {