play-ws-2.0.gradle 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. // Set properties before any plugins get loaded
  2. ext {
  3. minJavaVersionForTests = JavaVersion.VERSION_1_8
  4. }
  5. apply from: "${rootDir}/gradle/instrumentation.gradle"
  6. apply plugin: 'org.unbroken-dome.test-sets'
  7. testSets {
  8. latestDepTest {
  9. dirName = 'test'
  10. }
  11. }
  12. muzzle {
  13. pass {
  14. module = 'play-ahc-ws-standalone_2.11'
  15. group = 'com.typesafe.play'
  16. versions = '[2.0.0,]'
  17. assertInverse = true
  18. }
  19. pass {
  20. group = 'com.typesafe.play'
  21. module = 'play-ahc-ws-standalone_2.12'
  22. versions = '[2.0.0,2.1.0)'
  23. skipVersions += '2.0.5' // Bad release
  24. assertInverse = true
  25. }
  26. // No Scala 2.13 versions below 2.0.6 exist
  27. pass {
  28. group = 'com.typesafe.play'
  29. module = 'play-ahc-ws-standalone_2.13'
  30. versions = '[2.0.6,2.1.0)'
  31. }
  32. }
  33. def scalaVersion = '2.12'
  34. dependencies {
  35. compileOnly group: 'com.typesafe.play', name: "play-ahc-ws-standalone_$scalaVersion", version: '2.0.0'
  36. compile project(':instrumentation:play-ws:play-ws-common')
  37. testCompile project(path: ':instrumentation:play-ws:play-ws-common', configuration: 'testArtifacts')
  38. // These are to ensure cross compatibility
  39. testCompile project(':instrumentation:netty:netty-4.0')
  40. testCompile project(':instrumentation:netty:netty-4.1')
  41. testCompile project(':instrumentation:akka-http-10.0')
  42. testCompile group: 'com.typesafe.play', name: "play-ahc-ws-standalone_$scalaVersion", version: '2.0.0'
  43. latestDepTestCompile group: 'com.typesafe.play', name: "play-ahc-ws-standalone_$scalaVersion", version: '2.0.+'
  44. }