You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2022/11/16 04:32:33 UTC

[groovy] branch GROOVY_4_0_X updated: minor build refactor

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


The following commit(s) were added to refs/heads/GROOVY_4_0_X by this push:
     new 3794a364df minor build refactor
3794a364df is described below

commit 3794a364df7ab4e699eebc52024094e07deda9ef
Author: Paul King <pa...@asert.com.au>
AuthorDate: Wed Nov 16 13:56:48 2022 +1000

    minor build refactor
---
 .../groovy/org/apache/groovy/gradle/PerformanceTestsExtension.groovy  | 2 +-
 subprojects/binary-compatibility/build.gradle                         | 4 ++--
 subprojects/performance/build.gradle                                  | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/build-logic/src/main/groovy/org/apache/groovy/gradle/PerformanceTestsExtension.groovy b/build-logic/src/main/groovy/org/apache/groovy/gradle/PerformanceTestsExtension.groovy
index 0d4a399893..5164463509 100644
--- a/build-logic/src/main/groovy/org/apache/groovy/gradle/PerformanceTestsExtension.groovy
+++ b/build-logic/src/main/groovy/org/apache/groovy/gradle/PerformanceTestsExtension.groovy
@@ -73,7 +73,7 @@ class PerformanceTestsExtension {
 
     void version(String v) {
         def version = v.replace('.', '_')
-        def groovyConf = configurations.create("perf_groovy_$version") { Configuration it ->
+        def groovyConf = configurations.create("perfGroovy$version") { Configuration it ->
             it.canBeResolved = true
             it.canBeConsumed = false
             it.resolutionStrategy {
diff --git a/subprojects/binary-compatibility/build.gradle b/subprojects/binary-compatibility/build.gradle
index 2addba8954..0131480246 100644
--- a/subprojects/binary-compatibility/build.gradle
+++ b/subprojects/binary-compatibility/build.gradle
@@ -1,5 +1,3 @@
-import me.champeau.gradle.japicmp.JapicmpTask
-
 /*
  *  Licensed to the Apache Software Foundation (ASF) under one
  *  or more contributor license agreements.  See the NOTICE file
@@ -18,6 +16,8 @@ import me.champeau.gradle.japicmp.JapicmpTask
  *  specific language governing permissions and limitations
  *  under the License.
  */
+import me.champeau.gradle.japicmp.JapicmpTask
+
 plugins {
     id "me.champeau.gradle.japicmp" version "0.4.1"
     id 'org.apache.groovy-aggregating-project'
diff --git a/subprojects/performance/build.gradle b/subprojects/performance/build.gradle
index d1a517f05f..5db4ee9a4b 100644
--- a/subprojects/performance/build.gradle
+++ b/subprojects/performance/build.gradle
@@ -20,7 +20,7 @@ plugins {
     id 'org.apache.groovy-performance'
 }
 
-tasks.named('performanceTests').configure {
+tasks.named('performanceTests') {
     versions '2.5.19',
             '3.0.13',
             '4.0.6',