build.gradle 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  1. plugins {
  2. id 'org.springframework.boot' version '3.0.0'
  3. id 'io.spring.dependency-management' version '1.0.11.RELEASE'
  4. id "nebula.integtest" version "8.2.0"
  5. id 'java'
  6. }
  7. repositories {
  8. mavenCentral()
  9. maven { url "https://repo.spring.io/milestone" }
  10. maven { url "https://repo.spring.io/snapshot" }
  11. maven { url "https://build.shibboleth.net/nexus/content/repositories/releases/" }
  12. }
  13. dependencies {
  14. constraints {
  15. implementation "org.opensaml:opensaml-core:4.1.1"
  16. implementation "org.opensaml:opensaml-saml-api:4.1.1"
  17. implementation "org.opensaml:opensaml-saml-impl:4.1.1"
  18. }
  19. implementation 'org.springframework.boot:spring-boot-starter-security'
  20. implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
  21. implementation 'org.springframework.boot:spring-boot-starter-web'
  22. implementation 'org.springframework.security:spring-security-saml2-service-provider'
  23. implementation 'org.thymeleaf.extras:thymeleaf-extras-springsecurity6'
  24. testImplementation 'net.sourceforge.htmlunit:htmlunit:2.70.0'
  25. testImplementation 'org.springframework.boot:spring-boot-starter-test'
  26. testImplementation 'org.springframework.security:spring-security-test'
  27. }
  28. tasks.withType(Test).configureEach {
  29. useJUnitPlatform()
  30. outputs.upToDateWhen { false }
  31. }