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

cchampeau 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 b9a5db5  Polish binary compatibility script
b9a5db5 is described below

commit b9a5db5b8b23b735fec73ff5619fafe972f01c38
Author: Cedric Champeau <cchamp...@apache.org>
AuthorDate: Tue Mar 19 22:16:24 2019 +0100

    Polish binary compatibility script
---
 subprojects/binary-compatibility/build.gradle.kts | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/subprojects/binary-compatibility/build.gradle.kts 
b/subprojects/binary-compatibility/build.gradle.kts
index f31790f..f3b6958 100644
--- a/subprojects/binary-compatibility/build.gradle.kts
+++ b/subprojects/binary-compatibility/build.gradle.kts
@@ -26,7 +26,7 @@ val checkBinaryCompatibility = 
tasks.register("checkBinaryCompatibility") {
     description = "Generates binary compatibility reports"
 }
 
-tasks.named("check").configure {
+tasks.check {
     dependsOn(checkBinaryCompatibility)
 }
 
@@ -42,7 +42,7 @@ val compatibilityBaselineVersion = "2.4.15"
 val binaryCompatProject = project
 
 rootProject.allprojects {
-    if (!(name in excludeModules)) {
+    if (name !in excludeModules) {
         val baseline = 
binaryCompatProject.configurations.create("${getJapiTaskName()}Baseline") {
             
dependencies.add(binaryCompatProject.dependencies.create("org.codehaus.groovy:${project.name}:${compatibilityBaselineVersion}@jar"))
         }
@@ -59,7 +59,7 @@ rootProject.allprojects {
             packageExcludes = listOf("**internal**", "groovyjarjar**")
             htmlOutputFile = 
file("${binaryCompatProject.buildDir}/reports/${getJapiTaskName()}.html")
         }
-        checkBinaryCompatibility.configure {
+        checkBinaryCompatibility {
             dependsOn(singleProjectCheck)
         }
     }

Reply via email to