build.gradle 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. plugins {
  2. id "java"
  3. id "nebula.integtest" version "8.2.0"
  4. id "org.gretty" version "4.0.3"
  5. id "war"
  6. }
  7. apply from: "gradle/gretty.gradle"
  8. repositories {
  9. jcenter()
  10. mavenCentral()
  11. maven { url "https://repo.spring.io/snapshot" }
  12. maven { url "https://repo.spring.io/milestone" }
  13. maven { url "https://build.shibboleth.net/nexus/content/repositories/releases/" }
  14. }
  15. dependencies {
  16. constraints {
  17. implementation "org.opensaml:opensaml-core:4.1.1"
  18. implementation "org.opensaml:opensaml-saml-api:4.1.1"
  19. implementation "org.opensaml:opensaml-saml-impl:4.1.1"
  20. }
  21. implementation platform(libs.org.springframework.spring.framework.bom)
  22. implementation platform(libs.org.springframework.security.spring.security.bom)
  23. implementation platform("org.junit:junit-bom:5.10.0")
  24. implementation "org.springframework.security:spring-security-config"
  25. implementation "org.springframework.security:spring-security-web"
  26. implementation "org.springframework.security:spring-security-saml2-service-provider"
  27. implementation "org.springframework:spring-webmvc"
  28. implementation "org.thymeleaf:thymeleaf-spring6:3.1.0.M1"
  29. implementation 'org.thymeleaf.extras:thymeleaf-extras-springsecurity6:3.1.0.M1'
  30. providedCompile "jakarta.servlet:jakarta.servlet-api:6.0.0"
  31. testImplementation "org.assertj:assertj-core:3.18.0"
  32. testImplementation "org.springframework:spring-test"
  33. testImplementation "org.springframework.security:spring-security-test"
  34. testImplementation "org.junit.jupiter:junit-jupiter-api"
  35. testImplementation 'net.sourceforge.htmlunit:htmlunit:2.70.0'
  36. testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
  37. }
  38. tasks.withType(Test).configureEach {
  39. useJUnitPlatform()
  40. }