dependency-management.gradle 1021 B

123456789101112131415161718192021222324252627282930313233343536
  1. if (!project.hasProperty("springVersion")) {
  2. ext.springVersion = "5.3.6"
  3. }
  4. if (!project.hasProperty("springSecurityVersion")) {
  5. ext.springSecurityVersion = "5.4.6"
  6. }
  7. if (!project.hasProperty("reactorVersion")) {
  8. ext.reactorVersion = "2020.0.6"
  9. }
  10. if (!project.hasProperty("locksDisabled")) {
  11. dependencyLocking {
  12. lockAllConfigurations()
  13. }
  14. }
  15. dependencyManagement {
  16. imports {
  17. mavenBom "org.springframework:spring-framework-bom:$springVersion"
  18. mavenBom "org.springframework.security:spring-security-bom:$springSecurityVersion"
  19. mavenBom "io.projectreactor:reactor-bom:$reactorVersion"
  20. mavenBom "com.fasterxml.jackson:jackson-bom:2.12.0"
  21. }
  22. dependencies {
  23. dependency "javax.servlet:javax.servlet-api:4.0.1"
  24. dependency 'junit:junit:4.13.1'
  25. dependency 'org.assertj:assertj-core:3.18.1'
  26. dependency 'org.mockito:mockito-core:3.6.28'
  27. dependency "com.squareup.okhttp3:mockwebserver:3.14.9"
  28. dependency "com.squareup.okhttp3:okhttp:3.14.9"
  29. dependency "com.jayway.jsonpath:json-path:2.4.0"
  30. }
  31. }