Skip to content

Commit d1b1770

Browse files
committed
Exposing AspectJ 1.7.4 to users, only using AspectJ 1.8.0.M1 for ajc in our build
Issue: SPR-11273
1 parent f15a5fe commit d1b1770

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ configure(allprojects) { project ->
1313
group = "org.springframework"
1414
version = qualifyVersionIfNecessary(version)
1515

16-
ext.aspectjVersion = "1.8.0.M1"
16+
ext.aspectjVersion = "1.7.4"
1717
ext.groovyVersion = "1.8.9"
1818
ext.hsqldbVersion = "2.3.1"
1919
ext.junitVersion = "4.11"
@@ -857,9 +857,9 @@ project("spring-aspects") {
857857
aspects(project(":spring-orm"))
858858
provided("org.eclipse.persistence:javax.persistence:2.0.0")
859859
testCompile("javax.mail:mail:1.4.7")
860-
ajc("org.aspectj:aspectjtools:${aspectjVersion}")
861-
rt("org.aspectj:aspectjrt:${aspectjVersion}")
862-
compile("org.aspectj:aspectjweaver:${aspectjVersion}")
860+
ajc("org.aspectj:aspectjtools:1.8.0.M1") // needed for ajc on JDK 8 only
861+
rt("org.aspectj:aspectjrt:1.8.0.M1") // needed for ajc on JDK 8 only
862+
compile("org.aspectj:aspectjweaver:${aspectjVersion}") // exposing regular AspectJ version to users
863863
testCompile(project(":spring-core")) // for CodeStyleAspect
864864
compile(project(":spring-beans")) // for "p" namespace visibility
865865
testCompile(project(":spring-test"))

0 commit comments

Comments
 (0)