build.gradle 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. plugins {
  2. id 'java'
  3. id 'org.springframework.boot' version '3.2.3'
  4. id 'io.spring.dependency-management' version '1.1.4'
  5. }
  6. group = 'com.danielbohry'
  7. version = '0.1'
  8. java {
  9. sourceCompatibility = '21'
  10. }
  11. repositories {
  12. mavenCentral()
  13. }
  14. dependencies {
  15. implementation 'org.springframework.boot:spring-boot-starter-web'
  16. implementation 'org.springframework.boot:spring-boot-starter-data-mongodb'
  17. implementation 'org.springframework.cloud:spring-cloud-starter-openfeign:4.0.2'
  18. implementation 'org.springframework.boot:spring-boot-starter-cache'
  19. implementation 'com.github.ben-manes.caffeine:caffeine'
  20. implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.2.0'
  21. compileOnly 'org.projectlombok:lombok:1.18.30'
  22. annotationProcessor 'org.projectlombok:lombok:1.18.30'
  23. testImplementation 'org.springframework.boot:spring-boot-starter-test'
  24. }
  25. dependencyManagement {
  26. imports {
  27. mavenBom "org.springframework.boot:spring-boot-dependencies:3.0.5"
  28. }
  29. }
  30. tasks.named('test') {
  31. useJUnitPlatform()
  32. }