finatra-2.9.gradle 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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 from: "$rootDir/gradle/test-with-scala.gradle"
  7. apply plugin: 'org.unbroken-dome.test-sets'
  8. testSets {
  9. latestDepTest {
  10. dirName = 'test'
  11. }
  12. }
  13. muzzle {
  14. // There are some weird library issues below 2.9 so can't assert inverse
  15. pass {
  16. group = 'com.twitter'
  17. module = 'finatra-http_2.11'
  18. versions = '[2.9.0,]'
  19. }
  20. pass {
  21. group = 'com.twitter'
  22. module = 'finatra-http_2.12'
  23. versions = '[2.9.0,]'
  24. }
  25. }
  26. dependencies {
  27. compileOnly group: 'com.twitter', name: 'finatra-http_2.11', version: '2.9.0'
  28. testImplementation project(':instrumentation:netty:netty-4.1')
  29. testImplementation group: 'com.twitter', name: 'finatra-http_2.11', version: '19.12.0'
  30. testImplementation(group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.9.10')
  31. // Required for older versions of finatra on JDKs >= 11
  32. testImplementation group: 'com.sun.activation', name: 'javax.activation', version: '1.2.0'
  33. latestDepTestImplementation project(':instrumentation:netty:netty-4.1')
  34. latestDepTestImplementation group: 'com.twitter', name: 'finatra-http_2.11', version: '20.6.+'
  35. latestDepTestImplementation(group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.11.0')
  36. }
  37. compileLatestDepTestGroovy {
  38. classpath = classpath.plus(files(compileLatestDepTestScala.destinationDir))
  39. dependsOn compileLatestDepTestScala
  40. }