build.gradle 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. plugins {
  2. id "java"
  3. id "org.gretty" version "3.0.6"
  4. id "war"
  5. }
  6. apply from: "gradle/gretty.gradle"
  7. repositories {
  8. mavenCentral()
  9. maven { url "https://repo.spring.io/snapshot" }
  10. maven { url "https://build.shibboleth.net/nexus/content/repositories/releases/" }
  11. }
  12. dependencies {
  13. constraints {
  14. implementation "org.opensaml:opensaml-core:4.1.1"
  15. implementation "org.opensaml:opensaml-saml-api:4.1.1"
  16. implementation "org.opensaml:opensaml-saml-impl:4.1.1"
  17. }
  18. implementation platform("org.springframework:spring-framework-bom:5.3.13")
  19. implementation platform("org.springframework.security:spring-security-bom:5.7.0-SNAPSHOT")
  20. implementation platform("org.junit:junit-bom:5.7.0")
  21. implementation "org.springframework.security:spring-security-config"
  22. implementation "org.springframework.security:spring-security-web"
  23. implementation "org.springframework.security:spring-security-saml2-service-provider"
  24. implementation "org.springframework:spring-webmvc"
  25. implementation "org.thymeleaf:thymeleaf-spring5:3.0.11.RELEASE"
  26. implementation 'org.thymeleaf.extras:thymeleaf-extras-springsecurity5:3.0.4.RELEASE'
  27. testImplementation "org.assertj:assertj-core:3.18.0"
  28. testImplementation "org.springframework:spring-test"
  29. testImplementation "org.springframework.security:spring-security-test"
  30. testImplementation "org.junit.jupiter:junit-jupiter-api"
  31. testImplementation 'net.sourceforge.htmlunit:htmlunit:2.49.1'
  32. testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
  33. }
  34. tasks.withType(Test).configureEach {
  35. useJUnitPlatform()
  36. outputs.upToDateWhen { false }
  37. }