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

jonnybot pushed a commit to branch INDY-PERF-EXPLORATION
in repository https://gitbox.apache.org/repos/asf/groovy.git

commit 3c5bdede2bc9ffed2ac6cbf77a203d0f398f98c8
Author: Jonny Carter <[email protected]>
AuthorDate: Fri Jan 30 15:44:02 2026 -0600

    Fix JMH cleaning
---
 build-logic/src/main/groovy/org.apache.groovy-performance.gradle | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

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 a332ff7451..193b060503 100644
--- a/build-logic/src/main/groovy/org.apache.groovy-performance.gradle
+++ b/build-logic/src/main/groovy/org.apache.groovy-performance.gradle
@@ -61,8 +61,12 @@ jmhJar {
     exclude 'THIRD-PARTY'
 }
 
-tasks.named('jmhClasses') {
-    dependsOn tasks.named('clean')
+// Ensure clean runs before JMH compilation, not after
+tasks.named('compileJmhJava') {
+    mustRunAfter tasks.named('clean')
+}
+tasks.named('compileJmhGroovy') {
+    mustRunAfter tasks.named('clean')
 }
 
 tasks.named('compileJmhGroovy') {

Reply via email to