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

commit 7d48c55a027b17836f470f84e583862cfc7e6a76
Author: Daniel Sun <[email protected]>
AuthorDate: Fri Nov 27 12:40:41 2020 +0800

    Try to fix the failing build
---
 subprojects/groovy-json/build.gradle | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/subprojects/groovy-json/build.gradle 
b/subprojects/groovy-json/build.gradle
index f35ad13..3818d07 100644
--- a/subprojects/groovy-json/build.gradle
+++ b/subprojects/groovy-json/build.gradle
@@ -28,6 +28,12 @@ dependencies {
     testRuntimeOnly "org.slf4j:slf4j-api:${versions.slf4j}"
     testRuntimeOnly project(':groovy-ant') // for JavadocAssertionTests
     testRuntimeOnly 'com.google.code.gson:gson:2.3.1' // json-unit requires 
gson, jackson1, or jackson2
+    testRuntimeOnly(project(':')) {
+        because "Tests are using Grapes"
+        capabilities {
+            requireCapability("org.apache.groovy:groovy-grapes")
+        }
+    }
 }
 
 plugins.withId('eclipse') {

Reply via email to