build.gradle 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. plugins {
  2. id "io.freefair.aspectj.post-compile-weaving" version "5.2.1"
  3. id "java"
  4. }
  5. repositories {
  6. mavenCentral()
  7. maven { url "https://repo.spring.io/milestone" }
  8. maven { url "https://repo.spring.io/snapshot" }
  9. }
  10. dependencies {
  11. aspect platform("org.springframework:spring-framework-bom:5.3.13")
  12. aspect platform("org.springframework.security:spring-security-bom:5.4.0-SNAPSHOT")
  13. aspect "org.springframework.security:spring-security-aspects"
  14. implementation platform("org.springframework:spring-framework-bom:5.3.13")
  15. implementation platform("org.springframework.security:spring-security-bom:5.7.0-SNAPSHOT")
  16. implementation platform("org.junit:junit-bom:5.7.0")
  17. implementation "org.springframework.security:spring-security-config"
  18. runtimeOnly "org.springframework.security:spring-security-aspects"
  19. testImplementation "org.assertj:assertj-core:3.18.0"
  20. testImplementation "org.springframework:spring-test"
  21. testImplementation "org.springframework.security:spring-security-test"
  22. testImplementation "org.junit.jupiter:junit-jupiter-api"
  23. testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine"
  24. }
  25. tasks.withType(Test).configureEach {
  26. useJUnitPlatform()
  27. outputs.upToDateWhen { false }
  28. }
  29. //aspectj {
  30. // version = aspectjVersion
  31. //}