build.gradle 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. plugins {
  2. id 'java'
  3. id 'org.springframework.boot' version '3.4.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.boot:spring-boot-starter-cache'
  18. implementation 'org.springframework.boot:spring-boot-starter-actuator'
  19. implementation 'org.springframework.cloud:spring-cloud-starter-openfeign:4.0.2'
  20. implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.2.0'
  21. implementation 'com.github.ben-manes.caffeine:caffeine'
  22. compileOnly 'org.projectlombok:lombok:1.18.30'
  23. annotationProcessor 'org.projectlombok:lombok:1.18.30'
  24. testImplementation 'org.springframework.boot:spring-boot-starter-test'
  25. }
  26. dependencyManagement {
  27. imports {
  28. mavenBom "org.springframework.boot:spring-boot-dependencies:3.0.5"
  29. }
  30. }
  31. tasks.named('test') {
  32. useJUnitPlatform()
  33. }