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 ce2641c Grape usage not needed for this test
ce2641c is described below
commit ce2641ca4a693bd77979f5d46fa7dbbb92dcb7e0
Author: Paul King <[email protected]>
AuthorDate: Fri Nov 27 12:07:38 2020 +1000
Grape usage not needed for this test
---
subprojects/groovy-json/build.gradle | 2 ++
subprojects/groovy-json/src/spec/test/json/JsonBuilderTest.groovy | 3 ---
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/subprojects/groovy-json/build.gradle
b/subprojects/groovy-json/build.gradle
index 1ab2576..11766b4 100644
--- a/subprojects/groovy-json/build.gradle
+++ b/subprojects/groovy-json/build.gradle
@@ -20,6 +20,8 @@ dependencies {
compile rootProject
testCompile project(':groovy-test')
testCompile project(':groovy-dateutil')
+ testCompile 'net.javacrumbs.json-unit:json-unit:1.5.5'
+ 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/JsonBuilderTest.groovy
b/subprojects/groovy-json/src/spec/test/json/JsonBuilderTest.groovy
index 0328cc7..ca72f15 100644
--- a/subprojects/groovy-json/src/spec/test/json/JsonBuilderTest.groovy
+++ b/subprojects/groovy-json/src/spec/test/json/JsonBuilderTest.groovy
@@ -23,9 +23,6 @@ class JsonBuilderTest extends GroovyTestCase {
void testJsonBuilder() {
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.5.5')])
import net.javacrumbs.jsonunit.JsonAssert
// tag::json_string[]