build.gradle 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. plugins {
  2. id 'java'
  3. id 'org.springframework.boot' version '3.5.+'
  4. id 'io.spring.dependency-management' version '1.1.+'
  5. id 'com.gorylenko.gradle-git-properties' version '2.5.3'
  6. }
  7. group = 'com.danielbohry'
  8. java {
  9. sourceCompatibility = '25'
  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.springdoc:springdoc-openapi-starter-webmvc-ui:2.+'
  20. implementation 'com.github.ben-manes.caffeine:caffeine'
  21. implementation 'net.javacrumbs.shedlock:shedlock-spring:6.+'
  22. implementation 'net.javacrumbs.shedlock:shedlock-provider-mongo:6.+'
  23. compileOnly 'org.projectlombok:lombok'
  24. annotationProcessor 'org.projectlombok:lombok'
  25. testImplementation 'org.springframework.boot:spring-boot-starter-test'
  26. }
  27. dependencyManagement {
  28. imports {
  29. mavenBom "org.springframework.boot:spring-boot-dependencies:3.5.+"
  30. }
  31. }
  32. tasks.named('test') {
  33. useJUnitPlatform()
  34. }