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

paulk pushed a commit to branch GROOVY_2_5_X
in repository https://gitbox.apache.org/repos/asf/groovy.git


The following commit(s) were added to refs/heads/GROOVY_2_5_X by this push:
     new b00663d  Grape usage not needed for this test (another case)
b00663d is described below

commit b00663d4510a010bb25f70255bb6aa3fb832c88d
Author: Paul King <[email protected]>
AuthorDate: Fri Nov 27 14:58:59 2020 +1000

    Grape usage not needed for this test (another case)
---
 subprojects/groovy-json/build.gradle                                   | 2 +-
 .../groovy-json/src/spec/test/json/StreamingJsonBuilderTest.groovy     | 3 ---
 2 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/subprojects/groovy-json/build.gradle 
b/subprojects/groovy-json/build.gradle
index 11766b4..39ea96b 100644
--- a/subprojects/groovy-json/build.gradle
+++ b/subprojects/groovy-json/build.gradle
@@ -20,7 +20,7 @@ dependencies {
     compile rootProject
     testCompile project(':groovy-test')
     testCompile project(':groovy-dateutil')
-    testCompile 'net.javacrumbs.json-unit:json-unit:1.5.5'
+    testCompile 'net.javacrumbs.json-unit:json-unit:1.31.1'
     testRuntime 'com.google.code.gson:gson:2.3.1' //required by json-unit
     testRuntime "org.slf4j:slf4j-api:$slf4jVersion"
     testRuntime project(':groovy-ant') // for JavadocAssertionTests
diff --git 
a/subprojects/groovy-json/src/spec/test/json/StreamingJsonBuilderTest.groovy 
b/subprojects/groovy-json/src/spec/test/json/StreamingJsonBuilderTest.groovy
index 69467e0..cf78ee5 100644
--- a/subprojects/groovy-json/src/spec/test/json/StreamingJsonBuilderTest.groovy
+++ b/subprojects/groovy-json/src/spec/test/json/StreamingJsonBuilderTest.groovy
@@ -23,9 +23,6 @@ class StreamingJsonBuilderTest extends GroovyTestCase {
     void testStreamingJsonBuilder() {
         assertScript """
             import groovy.json.*
-            @Grapes([
-                @Grab('com.google.code.gson:gson:2.3.1'), //required by 
json-unit
-                @Grab('net.javacrumbs.json-unit:json-unit:1.31.1')])
             import net.javacrumbs.jsonunit.JsonAssert
 
             // tag::json_string[]

Reply via email to