From 81128871be4b9055fc562893c3a7ecd37184fd3b Mon Sep 17 00:00:00 2001 From: Chris Beams Date: Mon, 13 Aug 2012 15:24:52 +0200 Subject: [PATCH] Add optional AspectJ dependencies where appropriate spring-core, spring-aop and spring-context each have compile-time dependencies on classes in the aspectjweaver jar. Prior to this commit, only spring-core declared an optional dependency on it; now all three do. Issue: SPR-9683 --- build.gradle | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build.gradle b/build.gradle index 01189f071e..7c6b4b9da7 100644 --- a/build.gradle +++ b/build.gradle @@ -202,6 +202,7 @@ project('spring-aop') { compile("aopalliance:aopalliance:1.0") compile("com.jamonapi:jamon:2.4", optional) compile("commons-pool:commons-pool:1.5.3", optional) + compile("org.aspectj:aspectjweaver:${aspectjVersion}", optional) } } @@ -263,6 +264,7 @@ project('spring-context') { compile("net.sf.ehcache:ehcache-core:2.0.0", optional) compile("org.slf4j:slf4j-api:1.6.1", optional) compile("org.codehaus.jsr166-mirror:jsr166:1.7.0", provided) + compile("org.aspectj:aspectjweaver:${aspectjVersion}", optional) testCompile "commons-dbcp:commons-dbcp:1.2.2" testCompile("javax.xml:jaxrpc-api:1.1") testCompile("javax.inject:com.springsource.org.atinject.tck:1.0.0")