build.gradle 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. plugins {
  2. id 'java'
  3. id 'war'
  4. id 'org.springframework.boot' version '3.4.3'
  5. id 'io.spring.dependency-management' version '1.1.7'
  6. }
  7. group = 'fr.triplea'
  8. version = '0.0.1-SNAPSHOT'
  9. java { toolchain { languageVersion = JavaLanguageVersion.of(17) } }
  10. repositories { mavenCentral() }
  11. dependencies {
  12. developmentOnly 'org.springframework.boot:spring-boot-devtools'
  13. implementation 'org.springframework.boot:spring-boot-starter-actuator'
  14. implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
  15. implementation 'org.springframework.boot:spring-boot-starter-security'
  16. implementation 'org.springframework.boot:spring-boot-starter-web'
  17. implementation 'io.hypersistence:hypersistence-utils-hibernate-63:3.9.0'
  18. implementation 'org.hibernate.validator:hibernate-validator:8.0.2.Final'
  19. implementation 'com.google.guava:guava:33.4.0-jre'
  20. implementation 'com.twelvemonkeys.imageio:imageio-core:3.12.0'
  21. implementation 'net.coobird:thumbnailator:0.4.20'
  22. runtimeOnly 'org.postgresql:postgresql'
  23. providedRuntime 'org.springframework.boot:spring-boot-starter-tomcat'
  24. testImplementation 'org.springframework.boot:spring-boot-starter-test'
  25. testImplementation 'org.springframework.security:spring-security-test'
  26. testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
  27. }
  28. tasks.named('test') { useJUnitPlatform() }
  29. tasks.withType(JavaCompile).configureEach { options.compilerArgs.add("-parameters") }