File tree Expand file tree Collapse file tree 4 files changed +4
-6
lines changed
dd-java-agent/instrumentation Expand file tree Collapse file tree 4 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -37,8 +37,7 @@ dependencies {
3737 webappCompileOnly group : ' javax.servlet' , name : ' javax.servlet-api' , version : ' 3.1.0'
3838 // compileOnly to avoid bringing all the test dependencies to the test app
3939 // these are to be provided by the system classloader on test time
40- webappCompileOnly project(' :dd-java-agent:instrumentation:servlet:request-3' )
41- .tasks[' compileTestFixturesJava' ]. classpath
40+ webappCompileOnly testFixtures(project(' :dd-java-agent:instrumentation:servlet:request-3' ))
4241 // only the testFixtures jar (not its dependencies) and groovy should be included in the webapp
4342 webappImplementation files(
4443 project(' :dd-java-agent:instrumentation:servlet:request-3' )
Original file line number Diff line number Diff line change @@ -41,8 +41,7 @@ dependencies {
4141 webappCompileOnly group : ' jakarta.servlet' , name : ' jakarta.servlet-api' , version : ' 5.0.0'
4242 // compileOnly to avoid bringing all the test dependencies to the test app
4343 // these are to be provided by the system classloader on test time
44- webappCompileOnly project(' :dd-java-agent:instrumentation:servlet:request-5' )
45- .tasks[' compileTestFixturesJava' ]. classpath
44+ webappCompileOnly testFixtures(project(' :dd-java-agent:instrumentation:servlet:request-5' ))
4645 // only the testFixtures jar (not its dependencies) and groovy should be included in the webapp
4746 webappImplementation files(
4847 project(' :dd-java-agent:instrumentation:servlet:request-5' )
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ dependencies {
3838 compileOnly group : ' javax.servlet' , name : ' javax.servlet-api' , version : ' 3.1.0'
3939 implementation project(' :dd-java-agent:instrumentation:servlet-common' )
4040
41- testFixturesImplementation (project(' :dd-java-agent:testing' )) {
41+ testFixturesApi (project(' :dd-java-agent:testing' )) {
4242 exclude group : ' org.eclipse.jetty' , module : ' jetty-server'
4343 }
4444 testFixturesCompileOnly group : ' javax.servlet' , name : ' javax.servlet-api' , version : ' 3.0.1'
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ dependencies {
6464 transitive = false
6565 }
6666
67- testFixturesImplementation (project(' :dd-java-agent:testing' )) {
67+ testFixturesApi (project(' :dd-java-agent:testing' )) {
6868 exclude group : ' org.eclipse.jetty' , module : ' jetty-server'
6969 }
7070 testFixturesCompileOnly group : ' jakarta.servlet' , name : ' jakarta.servlet-api' , version : ' 5.0.0'
You can’t perform that action at this time.
0 commit comments