build.gradle.kts 846 B

123456789101112131415161718192021222324252627282930313233
  1. plugins {
  2. id("java")
  3. id("com.diffplug.spotless") version "6.1.2"
  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.7.2")
  19. testImplementation("org.junit.jupiter:junit-jupiter-params:5.7.2")
  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.7.2")
  24. }
  25. tasks {
  26. test {
  27. useJUnitPlatform()
  28. }
  29. }