build.gradle 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. plugins {
  2. id 'java'
  3. id 'org.springframework.boot' version '4.0.1'
  4. id 'io.spring.dependency-management' version '1.1.7'
  5. }
  6. group = 'com.lhamacorp'
  7. java {
  8. toolchain {
  9. languageVersion = JavaLanguageVersion.of(25)
  10. }
  11. }
  12. repositories {
  13. mavenCentral()
  14. }
  15. dependencies {
  16. implementation 'org.springframework.boot:spring-boot-starter-data-mongodb'
  17. implementation 'org.springframework.boot:spring-boot-starter-web'
  18. implementation 'org.springframework.boot:spring-boot-starter-actuator'
  19. implementation 'org.springframework.boot:spring-boot-starter-cache'
  20. implementation 'com.github.f4b6a3:ulid-creator:5.2.3'
  21. implementation 'com.github.ben-manes.caffeine:caffeine'
  22. implementation 'com.fasterxml.jackson.core:jackson-databind'
  23. testImplementation 'org.springframework.boot:spring-boot-starter-mongodb-test'
  24. testImplementation 'org.springframework.boot:spring-boot-starter-webmvc-test'
  25. testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
  26. testImplementation 'io.rest-assured:rest-assured:6.0.0'
  27. }
  28. tasks.named('test') {
  29. useJUnitPlatform()
  30. testLogging {
  31. events "passed", "skipped", "failed"
  32. showStandardStreams = true
  33. exceptionFormat = 'full'
  34. displayGranularity = 2
  35. }
  36. }