build.gradle 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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.danielbohry'
  7. java {
  8. sourceCompatibility = '25'
  9. }
  10. configurations {
  11. compileOnly {
  12. extendsFrom annotationProcessor
  13. }
  14. }
  15. repositories {
  16. mavenCentral()
  17. }
  18. dependencies {
  19. implementation 'org.springframework.boot:spring-boot-starter-data-mongodb'
  20. implementation 'org.springframework.boot:spring-boot-starter-web'
  21. implementation 'org.springframework.boot:spring-boot-starter-security'
  22. implementation 'org.springframework.boot:spring-boot-starter-actuator'
  23. implementation 'io.jsonwebtoken:jjwt-api:0.12.6'
  24. runtimeOnly 'io.jsonwebtoken:jjwt-impl:0.12.6'
  25. runtimeOnly 'io.jsonwebtoken:jjwt-jackson:0.12.6'
  26. implementation 'com.google.guava:guava:33.4.0-jre'
  27. implementation 'org.apache.commons:commons-lang3:3.19.0'
  28. implementation 'commons-collections:commons-collections:3.2.2'
  29. implementation 'jakarta.xml.bind:jakarta.xml.bind-api:4.0.2'
  30. compileOnly 'org.projectlombok:lombok'
  31. annotationProcessor 'org.projectlombok:lombok'
  32. testImplementation 'org.springframework.boot:spring-boot-starter-test'
  33. testImplementation 'org.springframework.security:spring-security-test'
  34. testImplementation 'org.springframework.boot:spring-boot-test-autoconfigure'
  35. testImplementation 'org.springframework.boot:spring-boot-starter-web'
  36. testImplementation 'org.mockito:mockito-core:5.14.2'
  37. }
  38. tasks.named('test') {
  39. useJUnitPlatform()
  40. }