build.gradle.kts 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. plugins {
  2. id("otel.javaagent-instrumentation")
  3. id("otel.scala-conventions")
  4. id("org.unbroken-dome.test-sets")
  5. }
  6. muzzle {
  7. pass {
  8. group.set("org.scala-lang")
  9. module.set("scala-library")
  10. versions.set("[2.8.0,2.12.0)")
  11. assertInverse.set(true)
  12. }
  13. }
  14. testSets {
  15. create("slickTest")
  16. }
  17. dependencies {
  18. bootstrap(project(":instrumentation:executors:bootstrap"))
  19. library("org.scala-lang:scala-library:2.8.0")
  20. latestDepTestLibrary("org.scala-lang:scala-library:2.11.+")
  21. testInstrumentation(project(":instrumentation:jdbc:javaagent"))
  22. testImplementation(project(":instrumentation:executors:testing"))
  23. add("slickTestImplementation", project(":testing-common"))
  24. add("slickTestImplementation", "org.scala-lang:scala-library")
  25. add("slickTestImplementation", "com.typesafe.slick:slick_2.11:3.2.0")
  26. add("slickTestImplementation", "com.h2database:h2:1.4.197")
  27. }
  28. // Run Slick library tests along with the rest of tests
  29. tasks {
  30. val slickTest by existing
  31. check {
  32. dependsOn(slickTest)
  33. }
  34. }