Fix "missing aspectjrt.jar" warnings in spring-aspects
See gh-23506
This commit is contained in:
parent
84f9c150de
commit
dda047623d
|
|
@ -13,6 +13,7 @@ aspectj.version = aspectjVersion
|
||||||
dependencies {
|
dependencies {
|
||||||
aspect(project(":spring-orm"))
|
aspect(project(":spring-orm"))
|
||||||
compile("org.aspectj:aspectjweaver:${aspectjVersion}")
|
compile("org.aspectj:aspectjweaver:${aspectjVersion}")
|
||||||
|
compileOnly("org.aspectj:aspectjrt:${aspectjVersion}")
|
||||||
optional(project(":spring-aop")) // for @Async support
|
optional(project(":spring-aop")) // for @Async support
|
||||||
optional(project(":spring-beans")) // for @Configurable support
|
optional(project(":spring-beans")) // for @Configurable support
|
||||||
optional(project(":spring-context")) // for @Enable* support
|
optional(project(":spring-context")) // for @Enable* support
|
||||||
|
|
@ -24,6 +25,7 @@ dependencies {
|
||||||
testCompile(project(":spring-core")) // for CodeStyleAspect
|
testCompile(project(":spring-core")) // for CodeStyleAspect
|
||||||
testCompile(project(":spring-test"))
|
testCompile(project(":spring-test"))
|
||||||
testCompile("javax.mail:javax.mail-api:1.6.2")
|
testCompile("javax.mail:javax.mail-api:1.6.2")
|
||||||
|
testCompileOnly("org.aspectj:aspectjrt:${aspectjVersion}")
|
||||||
}
|
}
|
||||||
|
|
||||||
eclipse.project {
|
eclipse.project {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue