build.gradle 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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. id 'com.gorylenko.gradle-git-properties' version '2.5.0'
  6. }
  7. group = 'com.danielbohry'
  8. version = '0.1'
  9. java {
  10. sourceCompatibility = '21'
  11. }
  12. repositories {
  13. mavenCentral()
  14. }
  15. dependencies {
  16. implementation 'org.springframework.boot:spring-boot-starter-web'
  17. implementation 'org.springframework.boot:spring-boot-starter-data-mongodb'
  18. implementation 'org.springframework.boot:spring-boot-starter-cache'
  19. implementation 'org.springframework.boot:spring-boot-starter-actuator'
  20. implementation 'org.springframework.cloud:spring-cloud-starter-openfeign:4.0.2'
  21. implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.2.0'
  22. implementation 'com.github.ben-manes.caffeine:caffeine'
  23. implementation 'net.javacrumbs.shedlock:shedlock-spring:6.4.0'
  24. implementation 'net.javacrumbs.shedlock:shedlock-provider-mongo:6.4.0'
  25. compileOnly 'org.projectlombok:lombok:1.18.30'
  26. annotationProcessor 'org.projectlombok:lombok:1.18.30'
  27. testImplementation 'org.springframework.boot:spring-boot-starter-test'
  28. }
  29. dependencyManagement {
  30. imports {
  31. mavenBom "org.springframework.boot:spring-boot-dependencies:3.0.5"
  32. }
  33. }
  34. tasks.named('test') {
  35. useJUnitPlatform()
  36. }