build.gradle 746 B

123456789101112131415161718192021222324252627282930
  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 'io.projectreactor:reactor-test'
  21. testImplementation 'org.springframework.security:spring-security-test'
  22. }
  23. tasks.named('test') {
  24. useJUnitPlatform()
  25. }