build.gradle 819 B

123456789101112131415161718192021222324252627
  1. plugins {
  2. id 'io.spring.dependency-management' version '1.0.10.RELEASE'
  3. id 'org.springframework.boot' version '2.5.2'
  4. id "nebula.integtest" version "7.0.9"
  5. id 'java'
  6. }
  7. repositories {
  8. jcenter()
  9. maven { url "https://repo.spring.io/snapshot" }
  10. }
  11. dependencies {
  12. implementation 'org.springframework.boot:spring-boot-starter-security'
  13. implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
  14. implementation 'org.springframework.boot:spring-boot-starter-web'
  15. implementation 'org.springframework.security:spring-security-crypto'
  16. implementation 'com.j256.two-factor-auth:two-factor-auth:1.3'
  17. testImplementation 'org.springframework.boot:spring-boot-starter-test'
  18. testImplementation 'org.springframework.security:spring-security-test'
  19. }
  20. tasks.withType(Test).configureEach {
  21. useJUnitPlatform()
  22. }