build.gradle 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. plugins {
  2. id 'org.springframework.boot' version '3.1.3'
  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. }
  12. ext {
  13. set('testcontainersVersion', '1.17.6')
  14. }
  15. dependencies {
  16. implementation 'org.springframework.boot:spring-boot-starter-security'
  17. implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
  18. implementation 'org.springframework.boot:spring-boot-starter-web'
  19. implementation 'org.springframework.security:spring-security-cas'
  20. implementation 'org.thymeleaf.extras:thymeleaf-extras-springsecurity6'
  21. testImplementation 'net.sourceforge.htmlunit:htmlunit'
  22. testImplementation 'org.springframework.boot:spring-boot-starter-test'
  23. testImplementation 'org.springframework.security:spring-security-test'
  24. testImplementation "org.testcontainers:junit-jupiter:$testcontainersVersion"
  25. testImplementation 'com.codeborne:selenide:6.12.4'
  26. testImplementation 'org.seleniumhq.selenium:selenium-chrome-driver'
  27. testImplementation 'org.seleniumhq.selenium:selenium-java'
  28. testImplementation 'io.github.bonigarcia:webdrivermanager:5.0.3'
  29. }
  30. tasks.withType(Test).configureEach {
  31. useJUnitPlatform()
  32. outputs.upToDateWhen { false }
  33. }