From c9fc15892a07be47126181c9de233b8e3c1cbbbf Mon Sep 17 00:00:00 2001 From: Gary Russell Date: Tue, 12 Mar 2013 17:21:39 -0400 Subject: [PATCH] INT-2957 Remove Unnecessary AspectJ Dependencies Core, JDBC, JMX, JPA each had dependencies for both weaver and rt jars. weaver is a superset of rt. Remove dependencies on the rt jar. Further JDBC, JPA have no dependencies on AspectJ. Finally, the JMX dependency was compile, when only testCompile is needed. --- build.gradle | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/build.gradle b/build.gradle index 5a286c0491..899f330d78 100644 --- a/build.gradle +++ b/build.gradle @@ -167,7 +167,6 @@ project('spring-integration-core') { compile "org.springframework:spring-tx:$springVersion" compile "org.springframework.retry:spring-retry:$springRetryVersion" compile("org.codehaus.jackson:jackson-mapper-asl:$jacksonVersion", optional) - testCompile "org.aspectj:aspectjrt:$aspectjVersion" testCompile "org.aspectj:aspectjweaver:$aspectjVersion" } } @@ -294,8 +293,6 @@ project('spring-integration-jdbc') { testCompile "org.apache.derby:derby:10.5.3.0_1" testCompile "org.apache.derby:derbyclient:10.5.3.0_1" - testCompile "org.aspectj:aspectjrt:$aspectjVersion" - testCompile "org.aspectj:aspectjweaver:$aspectjVersion" testCompile "org.powermock:powermock-module-junit4:1.4.12" testCompile "org.powermock:powermock-api-mockito:1.4.12" @@ -329,9 +326,8 @@ project('spring-integration-jmx') { description = 'Spring Integration JMX Support' dependencies { compile project(":spring-integration-core") - compile "org.aspectj:aspectjrt:$aspectjVersion" - compile "org.aspectj:aspectjweaver:$aspectjVersion" compile "org.springframework:spring-context:$springVersion" + testCompile "org.aspectj:aspectjweaver:$aspectjVersion" testCompile project(":spring-integration-test") } } @@ -349,8 +345,6 @@ project('spring-integration-jpa') { testCompile "com.h2database:h2:1.3.166" testCompile "hsqldb:hsqldb:1.8.0.10" testCompile "org.apache.derby:derby:10.5.3.0_1" - testCompile "org.aspectj:aspectjrt:$aspectjVersion" - testCompile "org.aspectj:aspectjweaver:$aspectjVersion" testCompile "org.hibernate:hibernate-entitymanager:3.6.10.Final" testCompile "org.eclipse.persistence:org.eclipse.persistence.jpa:2.3.2"