From a0e5394203d3f485c592c2d05d7d1a6b3cff6ced Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Thu, 10 Jan 2013 19:01:40 -0800 Subject: [PATCH] Exclude stax test dependency Exclude transitive stax 1.0 dependency to prevent compile time eclipse errors. --- build.gradle | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 3ddef1b2398..82a22f4922c 100644 --- a/build.gradle +++ b/build.gradle @@ -235,7 +235,9 @@ project("spring-core") { optional("net.sf.jopt-simple:jopt-simple:3.0") optional("log4j:log4j:1.2.17") testCompile("xmlunit:xmlunit:1.3") - testCompile("org.codehaus.woodstox:wstx-asl:3.2.7") + testCompile("org.codehaus.woodstox:wstx-asl:3.2.7") { + exclude group: "stax", module: "stax-api" + } } jar {