From a3e4f6cad4d1b625a6364fcf3564bb89c41f340e Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Tue, 4 Dec 2012 00:01:06 +0100 Subject: [PATCH] Use EasyMock 2.5.2 consistently across the build This commit ensures that EasyMock version 2.5.2 is used consistently across the test suite. This applies to both the easymock and easymockclassextension artifacts. Using the same version for both of these artifacts helps to better align us for a future upgrade to EasyMock 3.0 since the Class Extension artifact is deprecated in 3.x releases of the library. Issue: SPR-10069 --- build.gradle | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build.gradle b/build.gradle index 7a0a14dcfd2..c3687534faa 100644 --- a/build.gradle +++ b/build.gradle @@ -11,6 +11,7 @@ buildscript { configure(allprojects) { ext.aspectjVersion = '1.6.12' + ext.easymockVersion='2.5.2' ext.hsqldbVersion='1.8.0.10' ext.junitVersion = '4.11.20120805.1225' // temporary use of snapshot; spring-test // still builds against 4.10 @@ -39,7 +40,7 @@ configure(allprojects) { dependencies { testCompile "org.hamcrest:hamcrest-all:1.3" - testCompile "org.easymock:easymock:2.5.1" + testCompile "org.easymock:easymock:${easymockVersion}" } } @@ -281,7 +282,7 @@ project('spring-tx') { compile("com.ibm.websphere:uow:6.0.2.17", provided) compile("javax.resource:connector-api:1.5", optional) compile("org.apache.geronimo.specs:geronimo-jta_1.1_spec:1.1", optional) - testCompile "org.easymock:easymockclassextension:2.3" + testCompile "org.easymock:easymockclassextension:${easymockVersion}" } } @@ -334,7 +335,6 @@ project('spring-jdbc') { compile("org.apache.derby:derby:10.5.3.0_1", optional) compile("org.apache.derby:derbyclient:10.5.3.0_1", optional) compile("org.apache.geronimo.specs:geronimo-jta_1.1_spec:1.1", optional) - testCompile "org.easymock:easymock:2.5.1" } } @@ -608,7 +608,7 @@ project('spring-test-mvc') { testCompile "cglib:cglib-nodep:2.2" testCompile "rome:rome:1.0" testCompile "javax.xml.bind:jaxb-api:2.2.6" - testCompile "org.easymock:easymockclassextension:2.3" + testCompile "org.easymock:easymockclassextension:${easymockVersion}" testCompile("org.springframework.security:spring-security-core:3.1.2.RELEASE") { exclude group: 'org.springframework' }