File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -38,11 +38,14 @@ dependencies {
3838 api libs. bundles. test. logging
3939 api libs. guava
4040
41- // Jetty is bundled (relocated) in the shadow jar, not exposed as transitive dependency
42- // This avoids version conflicts with instrumentation tests that use different jetty versions
41+ // Do not expose jetty as a transitive dependency, as it conflicts
42+ // with versions used to test instrumentions.
43+ // Note: 9.4 last to support java 8
4344 compileOnly group : ' org.eclipse.jetty' , name : ' jetty-server' , version : ' 9.4.56.v20240826'
4445 runtimeOnly group : ' org.eclipse.jetty' , name : ' jetty-server' , version : ' 9.4.56.v20240826'
45- // ^ 9.4 last to support java 8
46+ // Since jetty-server is shadowed, it is needed to exports the servlet api as well.
47+ api group : ' javax.servlet' , name : ' javax.servlet-api' , version : ' 3.1.0'
48+
4649 api group : ' com.squareup.okhttp3' , name : ' logging-interceptor' , version : libs. versions. okhttp. legacy. get()
4750
4851 api project(' :dd-java-agent:agent-tooling' )
You can’t perform that action at this time.
0 commit comments