Skip to content

Commit 95b1cb7

Browse files
committed
AspectJ 1.8 final used in build, plus TestNG preparations for optional -target 1.8 usage
Issue: SPR-11212 Issue: SPR-11699
1 parent 51fb485 commit 95b1cb7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build.gradle

+3-3
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ configure(allprojects) { project ->
7777

7878
repositories {
7979
maven { url "http://repo.spring.io/libs-release" }
80-
maven { url "http://repo.spring.io/milestone" } // for AspectJ 1.8.0.RC2
8180
maven { url "http://repo.spring.io/snapshot" } // temporarily until Reactor 1.1.0.RC1
8281
}
8382

@@ -865,6 +864,7 @@ project("spring-test") {
865864

866865
task testNG(type: Test) {
867866
useTestNG()
867+
scanForTestClasses = false
868868
include(["**/testng/**/*Tests.class", "**/testng/**/*Test.class"])
869869
// Show STD_OUT & STD_ERR of the test JVM(s) on the console:
870870
// testLogging.showStandardStreams = true
@@ -891,8 +891,8 @@ project("spring-aspects") {
891891

892892
dependencies {
893893
aspects(project(":spring-orm"))
894-
ajc("org.aspectj:aspectjtools:1.8.0.RC2") // needed for ajc on JDK 8 only
895-
rt("org.aspectj:aspectjrt:1.8.0.RC2") // needed for ajc on JDK 8 only
894+
ajc("org.aspectj:aspectjtools:1.8.0") // needed for ajc on JDK 8 only
895+
rt("org.aspectj:aspectjrt:1.8.0") // needed for ajc on JDK 8 only
896896
compile("org.aspectj:aspectjweaver:${aspectjVersion}") // exposing regular AspectJ version to users
897897
provided("org.eclipse.persistence:javax.persistence:2.0.0")
898898
optional(project(":spring-aop")) // for @Async support

0 commit comments

Comments
 (0)