52 lines
1.7 KiB
Groovy
52 lines
1.7 KiB
Groovy
apply from: "$rootDir/gradle/instrumentation.gradle"
|
|
apply from: "$rootDir/gradle/test-with-scala.gradle"
|
|
|
|
muzzle {
|
|
pass {
|
|
group = 'com.typesafe.akka'
|
|
module = 'akka-http_2.11'
|
|
versions = "[10.0.0,10.1.0)"
|
|
// later versions of akka-http expect streams to be provided
|
|
extraDependency 'com.typesafe.akka:akka-stream_2.11:2.4.14'
|
|
}
|
|
pass {
|
|
group = 'com.typesafe.akka'
|
|
module = 'akka-http_2.12'
|
|
versions = "[10.0.0,10.1.0)"
|
|
// later versions of akka-http expect streams to be provided
|
|
extraDependency 'com.typesafe.akka:akka-stream_2.12:2.4.14'
|
|
}
|
|
pass {
|
|
group = 'com.typesafe.akka'
|
|
module = 'akka-http_2.11'
|
|
versions = "[10.1.0,)"
|
|
// later versions of akka-http expect streams to be provided
|
|
extraDependency 'com.typesafe.akka:akka-stream_2.11:2.5.11'
|
|
}
|
|
pass {
|
|
group = 'com.typesafe.akka'
|
|
module = 'akka-http_2.12'
|
|
versions = "[10.1.0,)"
|
|
// later versions of akka-http expect streams to be provided
|
|
extraDependency 'com.typesafe.akka:akka-stream_2.12:2.5.11'
|
|
}
|
|
//There is no akka-http 10.0.x series for scala 2.13
|
|
pass {
|
|
group = 'com.typesafe.akka'
|
|
module = 'akka-http_2.13'
|
|
versions = "[10.1.8,)"
|
|
// later versions of akka-http expect streams to be provided
|
|
extraDependency 'com.typesafe.akka:akka-stream_2.13:2.5.23'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
library "com.typesafe.akka:akka-http_2.11:10.0.0"
|
|
library "com.typesafe.akka:akka-stream_2.11:2.4.14"
|
|
|
|
// these instrumentations are not needed for the tests to pass
|
|
// they are here to test for context leaks
|
|
testInstrumentation project(':instrumentation:akka-actor-2.5:javaagent')
|
|
testInstrumentation project(':instrumentation:akka-actor-fork-join-2.5:javaagent')
|
|
}
|