play-ws-2.gradle 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. // Set properties before any plugins get loaded
  2. ext {
  3. minJavaVersionForTests = JavaVersion.VERSION_1_8
  4. }
  5. apply from: "${rootDir}/gradle/java.gradle"
  6. apply plugin: 'org.unbroken-dome.test-sets'
  7. testSets {
  8. latestDepTest {
  9. dirName = 'test'
  10. }
  11. }
  12. muzzle {
  13. // 2.0.5 was a bad release
  14. fail {
  15. group = 'com.typesafe.play'
  16. module = 'play-ahc-ws-standalone_2.11'
  17. versions = '[,2.0.0)'
  18. }
  19. pass {
  20. group = 'com.typesafe.play'
  21. module = 'play-ahc-ws-standalone_2.11'
  22. versions = '[2.0.0,2.0.4]'
  23. }
  24. pass {
  25. group = 'com.typesafe.play'
  26. module = 'play-ahc-ws-standalone_2.11'
  27. versions = '[2.0.6,]'
  28. }
  29. fail {
  30. group = 'com.typesafe.play'
  31. module = 'play-ahc-ws-standalone_2.12'
  32. versions = '[,2.0.0)'
  33. }
  34. pass {
  35. group = 'com.typesafe.play'
  36. module = 'play-ahc-ws-standalone_2.12'
  37. versions = '[2.0.0,2.0.4]'
  38. }
  39. pass {
  40. group = 'com.typesafe.play'
  41. module = 'play-ahc-ws-standalone_2.12'
  42. versions = '[2.0.6,]'
  43. }
  44. // No Scala 2.13 versions below 2.0.6 exist
  45. pass {
  46. group = 'com.typesafe.play'
  47. module = 'play-ahc-ws-standalone_2.13'
  48. versions = '[2.0.6,]'
  49. }
  50. }
  51. def scalaVersion = '2.12'
  52. dependencies {
  53. compileOnly group: 'com.typesafe.play', name: "play-ahc-ws-standalone_$scalaVersion", version: '2.0.0'
  54. testCompile project(':dd-java-agent:instrumentation:java-concurrent')
  55. // These are to ensure cross compatibility
  56. testCompile project(':dd-java-agent:instrumentation:netty-4.0')
  57. testCompile project(':dd-java-agent:instrumentation:netty-4.1')
  58. testCompile project(':dd-java-agent:instrumentation:akka-http-10.0')
  59. testCompile group: 'com.typesafe.play', name: "play-ahc-ws-standalone_$scalaVersion", version: '2.0.0'
  60. // TODO: Revisit when 2.1.x are out of the release candidate stage
  61. latestDepTestCompile group: 'com.typesafe.play', name: "play-ahc-ws-standalone_$scalaVersion", version: '2.0.+'
  62. }