-
Notifications
You must be signed in to change notification settings - Fork 791
/
build.gradle.kts
53 lines (50 loc) · 1.73 KB
/
build.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
plugins {
id("otel.javaagent-instrumentation")
id("otel.scala-conventions")
}
muzzle {
pass {
group.set("com.typesafe.akka")
module.set("akka-http_2.11")
versions.set("[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.set("com.typesafe.akka")
module.set("akka-http_2.12")
versions.set("[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.set("com.typesafe.akka")
module.set("akka-http_2.11")
versions.set("[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.set("com.typesafe.akka")
module.set("akka-http_2.12")
versions.set("[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.set("com.typesafe.akka")
module.set("akka-http_2.13")
versions.set("[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:akka-actor-2.5:javaagent"))
testInstrumentation(project(":instrumentation:akka:akka-actor-fork-join-2.5:javaagent"))
}