2
0

spring-security-aspects.gradle 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. apply plugin: 'io.spring.convention.spring-module'
  2. apply plugin: 'io.freefair.aspectj'
  3. compileAspectj {
  4. sourceCompatibility "17"
  5. targetCompatibility "17"
  6. }
  7. compileTestAspectj {
  8. sourceCompatibility "17"
  9. targetCompatibility "17"
  10. }
  11. dependencies {
  12. management platform(project(":spring-security-dependencies"))
  13. api "org.aspectj:aspectjrt"
  14. api project(':spring-security-core')
  15. api 'org.springframework:spring-beans'
  16. api 'org.springframework:spring-context'
  17. api 'org.springframework:spring-core'
  18. testImplementation 'org.springframework:spring-aop'
  19. testImplementation "org.assertj:assertj-core"
  20. testImplementation "org.junit.jupiter:junit-jupiter-api"
  21. testImplementation "org.junit.jupiter:junit-jupiter-params"
  22. testImplementation "org.junit.jupiter:junit-jupiter-engine"
  23. testImplementation "org.mockito:mockito-core"
  24. testImplementation "org.mockito:mockito-junit-jupiter"
  25. testImplementation "org.springframework:spring-test"
  26. testAspect sourceSets.main.output
  27. testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
  28. }
  29. compileAspectj.ajcOptions.outxmlfile = "META-INF/aop.xml"