Skip to content

Commit

Permalink
Upgrade to AspectJ 1.9 beta 7 (with 1.8.10 exposed in POMs)
Browse files Browse the repository at this point in the history
Issue: SPR-15974
  • Loading branch information
jhoeller committed Sep 25, 2017
1 parent 1a3cc3d commit ac45aa2
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ configure(allprojects) { project ->
group = "org.springframework"
version = qualifyVersionIfNecessary(version)

ext.aspectjVersion = "1.9.0.BETA-6"
ext.aspectjVersion = "1.8.10"
ext.freemarkerVersion = "2.3.26-incubating"
ext.groovyVersion = "2.4.12"
ext.hsqldbVersion = "2.4.0"
Expand Down
1 change: 1 addition & 0 deletions spring-aop/spring-aop.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ dependencies {
optional("org.aspectj:aspectjweaver:${aspectjVersion}")
optional("org.apache.commons:commons-pool2:2.4.2")
optional("com.jamonapi:jamon:2.81")
testRuntime("org.aspectj:aspectjweaver:1.9.0.BETA-7") // for JDK 9 build compatibility
}
6 changes: 3 additions & 3 deletions spring-aspects/spring-aspects.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@ compileTestJava {

dependencies {
aspects(project(":spring-orm"))
ajc("org.aspectj:aspectjtools:${aspectjVersion}")
rt("org.aspectj:aspectjrt:${aspectjVersion}")
compile("org.aspectj:aspectjweaver:${aspectjVersion}")
ajc("org.aspectj:aspectjtools:1.9.0.BETA-7") // for JDK 9 build compatibility
rt("org.aspectj:aspectjrt:1.9.0.BETA-7") // for JDK 9 build compatibility
compile("org.aspectj:aspectjweaver:${aspectjVersion}") // for Maven POM exposure
optional(project(":spring-aop")) // for @Async support
optional(project(":spring-beans")) // for @Configurable support
optional(project(":spring-context")) // for @Enable* support
Expand Down
7 changes: 4 additions & 3 deletions spring-context/spring-context.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ apply plugin: "groovy"
dependencies {
compile(project(":spring-aop"))
compile(project(":spring-beans"))
compile(project(":spring-expression"))
compile(project(':spring-core'))
compile(project(":spring-expression"))
optional(project(":spring-instrument"))
optional("javax.annotation:javax.annotation-api:1.3.1")
optional("javax.ejb:javax.ejb-api:3.2")
Expand All @@ -16,11 +16,11 @@ dependencies {
optional("javax.money:money-api:1.0.1")
optional("javax.validation:validation-api:1.1.0.Final")
optional("javax.xml.ws:jaxws-api:2.3.0")
optional("org.hibernate:hibernate-validator:5.4.1.Final")
optional("joda-time:joda-time:2.9.9")
optional("org.aspectj:aspectjweaver:${aspectjVersion}")
optional("org.codehaus.groovy:groovy-all:${groovyVersion}")
optional("org.beanshell:bsh:2.0b5")
optional("joda-time:joda-time:2.9.9")
optional("org.hibernate:hibernate-validator:5.4.1.Final")
optional("org.jetbrains.kotlin:kotlin-reflect:${kotlinVersion}")
optional("org.jetbrains.kotlin:kotlin-stdlib:${kotlinVersion}")
testCompile("org.apache.commons:commons-pool2:2.4.2")
Expand All @@ -29,4 +29,5 @@ dependencies {
testRuntime("javax.xml.bind:jaxb-api:2.3.0")
testRuntime("org.glassfish:javax.el:3.0.1-b08")
testRuntime("org.javamoney:moneta:1.1")
testRuntime("org.aspectj:aspectjweaver:1.9.0.BETA-7") // for JDK 9 build compatibility
}

0 comments on commit ac45aa2

Please sign in to comment.