build.gradle.kts 949 B

12345678910111213141516171819202122232425262728293031323334353637
  1. plugins {
  2. id("java")
  3. id("com.diffplug.spotless") version "6.18.0"
  4. }
  5. spotless {
  6. java {
  7. googleJavaFormat()
  8. licenseHeaderFile(rootProject.file("../buildscripts/spotless.license.java"), "(package|import|public)")
  9. target("src/**/*.java")
  10. }
  11. }
  12. repositories {
  13. mavenCentral()
  14. }
  15. dependencies {
  16. implementation(enforcedPlatform("org.junit:junit-bom:5.9.3"))
  17. testImplementation("org.testcontainers:testcontainers:1.18.0")
  18. testImplementation("org.testcontainers:postgresql:1.18.0")
  19. testImplementation("org.junit.jupiter:junit-jupiter-api")
  20. testImplementation("org.junit.jupiter:junit-jupiter-params")
  21. testImplementation("com.squareup.okhttp3:okhttp:4.11.0")
  22. testImplementation("org.jooq:joox:2.0.0")
  23. testImplementation("com.jayway.jsonpath:json-path:2.8.0")
  24. testImplementation("org.slf4j:slf4j-simple:2.0.7")
  25. testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
  26. }
  27. tasks {
  28. test {
  29. useJUnitPlatform()
  30. }
  31. }