build.gradle 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. implementation 'net.javacrumbs.shedlock:shedlock-spring:6.4.0'
  23. implementation 'net.javacrumbs.shedlock:shedlock-provider-mongo:6.4.0'
  24. compileOnly 'org.projectlombok:lombok:1.18.30'
  25. annotationProcessor 'org.projectlombok:lombok:1.18.30'
  26. testImplementation 'org.springframework.boot:spring-boot-starter-test'
  27. }
  28. dependencyManagement {
  29. imports {
  30. mavenBom "org.springframework.boot:spring-boot-dependencies:3.0.5"
  31. }
  32. }
  33. tasks.named('test') {
  34. useJUnitPlatform()
  35. }