play-ws-2.1.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. fail {
  14. group = 'com.typesafe.play'
  15. module = 'play-ahc-ws-standalone_2.11'
  16. versions = '[,]'
  17. }
  18. pass {
  19. group = 'com.typesafe.play'
  20. module = 'play-ahc-ws-standalone_2.12'
  21. versions = '[2.1.0,]'
  22. skipVersions += '2.0.5' // Bad release
  23. assertInverse = true
  24. }
  25. pass {
  26. group = 'com.typesafe.play'
  27. module = 'play-ahc-ws-standalone_2.13'
  28. versions = '[2.1.0,]'
  29. skipVersions += '2.0.5' // Bad release
  30. assertInverse = true
  31. }
  32. }
  33. def scalaVersion = '2.12'
  34. dependencies {
  35. compileOnly group: 'com.typesafe.play', name: "play-ahc-ws-standalone_$scalaVersion", version: '2.1.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.1.0'
  43. latestDepTestCompile group: 'com.typesafe.play', name: "play-ahc-ws-standalone_$scalaVersion", version: '+'
  44. }