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

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


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

commit 4432c5a32bd5137400d09789b9f4988f0755b13e
Author: Paul King <[email protected]>
AuthorDate: Fri Nov 27 14:57:22 2020 +1000

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

diff --git a/subprojects/groovy-json/build.gradle 
b/subprojects/groovy-json/build.gradle
index 57893d5..9b01f07 100644
--- a/subprojects/groovy-json/build.gradle
+++ b/subprojects/groovy-json/build.gradle
@@ -20,8 +20,8 @@ dependencies {
     api rootProject  // JsonBuilder extends GroovyObjectSupport...
     testImplementation project(':groovy-test')
     testImplementation project(':groovy-dateutil')
-    testImplementation 'net.javacrumbs.json-unit:json-unit:1.5.6'
-    testRuntime 'com.google.code.gson:gson:2.3.1' // json-unit requires gson, 
jackson1, or jackson2
+    testImplementation 'net.javacrumbs.json-unit:json-unit:2.9.0'
+    testRuntime 'com.google.code.gson:gson:2.8.6' // json-unit requires gson, 
jackson1, or jackson2
     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 4c44743..a54c5ed 100644
--- a/subprojects/groovy-json/src/spec/test/json/StreamingJsonBuilderTest.groovy
+++ b/subprojects/groovy-json/src/spec/test/json/StreamingJsonBuilderTest.groovy
@@ -24,8 +24,6 @@ class StreamingJsonBuilderTest extends GroovyTestCase {
 
     void testStreamingJsonBuilder() {
         assertScript """
-            @Grab('com.google.code.gson:gson:2.8.6') //required by json-unit
-            @Grab('net.javacrumbs.json-unit:json-unit:2.9.0')
             import groovy.json.*
             import net.javacrumbs.jsonunit.JsonAssert
 

Reply via email to