Fix "missing aspectjrt.jar" warnings in spring-aspects

See gh-23506
This commit is contained in:
Brian Clozel 2019-08-23 17:00:32 +02:00
parent 84f9c150de
commit dda047623d
1 changed files with 2 additions and 0 deletions

View File

@ -13,6 +13,7 @@ aspectj.version = aspectjVersion
dependencies {
aspect(project(":spring-orm"))
compile("org.aspectj:aspectjweaver:${aspectjVersion}")
compileOnly("org.aspectj:aspectjrt:${aspectjVersion}")
optional(project(":spring-aop")) // for @Async support
optional(project(":spring-beans")) // for @Configurable support
optional(project(":spring-context")) // for @Enable* support
@ -24,6 +25,7 @@ dependencies {
testCompile(project(":spring-core")) // for CodeStyleAspect
testCompile(project(":spring-test"))
testCompile("javax.mail:javax.mail-api:1.6.2")
testCompileOnly("org.aspectj:aspectjrt:${aspectjVersion}")
}
eclipse.project {