build.gradle 992 B

1234567891011121314151617181920212223242526272829303132333435
  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. testImplementation 'org.springframework.boot:spring-boot-starter-mongodb-test'
  23. testImplementation 'org.springframework.boot:spring-boot-starter-webmvc-test'
  24. testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
  25. }
  26. tasks.named('test') {
  27. useJUnitPlatform()
  28. }