build.gradle 860 B

123456789101112131415161718192021222324252627282930313233
  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 'com.github.f4b6a3:ulid-creator:5.2.3'
  20. testImplementation 'org.springframework.boot:spring-boot-starter-mongodb-test'
  21. testImplementation 'org.springframework.boot:spring-boot-starter-webmvc-test'
  22. testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
  23. }
  24. tasks.named('test') {
  25. useJUnitPlatform()
  26. }