Skip to content

Commit 59b3ce8

Browse files
authored
Cross test apache-httpclient javaagent instrumentations (#15095)
1 parent 70765d1 commit 59b3ce8

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

instrumentation/apache-httpclient/apache-httpclient-2.0/javaagent/build.gradle.kts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ dependencies {
1414
library("commons-httpclient:commons-httpclient:2.0")
1515

1616
latestDepTestLibrary("commons-httpclient:commons-httpclient:3.+") // see apache-httpclient-4.0 module
17+
18+
testInstrumentation(project(":instrumentation:apache-httpclient:apache-httpclient-4.0:javaagent"))
19+
testInstrumentation(project(":instrumentation:apache-httpclient:apache-httpclient-5.0:javaagent"))
1720
}
1821

1922
tasks {

instrumentation/apache-httpclient/apache-httpclient-4.0/javaagent/build.gradle.kts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ muzzle {
2828
dependencies {
2929
library("org.apache.httpcomponents:httpclient:4.0")
3030
testCompileOnly("net.jcip:jcip-annotations:1.0")
31+
32+
testInstrumentation(project(":instrumentation:apache-httpclient:apache-httpclient-2.0:javaagent"))
33+
testInstrumentation(project(":instrumentation:apache-httpclient:apache-httpclient-5.0:javaagent"))
3134
}
3235

3336
tasks {

instrumentation/apache-httpclient/apache-httpclient-5.0/javaagent/build.gradle.kts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ dependencies {
1414
library("org.apache.httpcomponents.client5:httpclient5:5.0")
1515
// https://issues.apache.org/jira/browse/HTTPCORE-653
1616
library("org.apache.httpcomponents.core5:httpcore5:5.0.3")
17+
18+
testInstrumentation(project(":instrumentation:apache-httpclient:apache-httpclient-2.0:javaagent"))
19+
testInstrumentation(project(":instrumentation:apache-httpclient:apache-httpclient-4.0:javaagent"))
1720
}
1821

1922
tasks {

0 commit comments

Comments
 (0)