build.gradle 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. plugins {
  2. id 'java'
  3. id 'org.springframework.boot' version '3.4.3'
  4. id 'io.spring.dependency-management' version '1.1.7'
  5. }
  6. group = 'com.danielbohry'
  7. java {
  8. sourceCompatibility = '21'
  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:0.9.1'
  24. implementation 'com.google.guava:guava:31.1-jre'
  25. implementation 'org.springdoc:springdoc-openapi-ui:1.6.11'
  26. implementation 'javax.xml.bind:jaxb-api:2.4.0-b180830.0359'
  27. compileOnly 'org.projectlombok:lombok'
  28. annotationProcessor 'org.projectlombok:lombok'
  29. testImplementation 'org.springframework.boot:spring-boot-starter-test'
  30. }
  31. tasks.named('test') {
  32. useJUnitPlatform()
  33. }