build.gradle.kts 899 B

12345678910111213141516171819202122232425262728293031323334
  1. plugins {
  2. id("java")
  3. id("com.diffplug.spotless") version "6.9.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. testImplementation("org.testcontainers:testcontainers:1.16.2")
  17. testImplementation("org.testcontainers:postgresql:1.15.3")
  18. testImplementation("org.junit.jupiter:junit-jupiter-api:5.9.0")
  19. testImplementation("org.junit.jupiter:junit-jupiter-params:5.9.0")
  20. testImplementation("com.squareup.okhttp3:okhttp:4.9.1")
  21. testImplementation("org.jooq:joox:1.6.2")
  22. testImplementation("com.jayway.jsonpath:json-path:2.6.0")
  23. testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.9.0")
  24. testImplementation("org.slf4j:slf4j-simple:2.0.0")
  25. }
  26. tasks {
  27. test {
  28. useJUnitPlatform()
  29. }
  30. }