build.gradle 891 B

1234567891011121314151617181920212223242526272829303132
  1. plugins {
  2. id 'java'
  3. alias(libs.plugins.org.springframework.boot)
  4. alias(libs.plugins.io.spring.dependency.management)
  5. }
  6. group = 'com.example'
  7. version = '0.0.1-SNAPSHOT'
  8. java {
  9. sourceCompatibility = '17'
  10. }
  11. repositories {
  12. mavenCentral()
  13. maven { url "https://repo.spring.io/milestone" }
  14. maven { url "https://repo.spring.io/snapshot" }
  15. }
  16. dependencies {
  17. implementation 'org.springframework.boot:spring-boot-starter-security'
  18. implementation 'org.springframework.boot:spring-boot-starter-webflux'
  19. testImplementation 'org.springframework.boot:spring-boot-starter-test'
  20. testImplementation 'org.springframework.boot:spring-boot-webflux-test'
  21. testImplementation 'io.projectreactor:reactor-test'
  22. testImplementation 'org.springframework.boot:spring-boot-security-test'
  23. testImplementation 'org.springframework.security:spring-security-test'
  24. }
  25. tasks.named('test') {
  26. useJUnitPlatform()
  27. }