-
Notifications
You must be signed in to change notification settings - Fork 881
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate jetty httpclient build files to kotlin (#3421)
- Loading branch information
Anuraag Agrawal
authored
Jun 28, 2021
1 parent
52616dd
commit 47c8a9b
Showing
6 changed files
with
60 additions
and
67 deletions.
There are no files selected for viewing
28 changes: 0 additions & 28 deletions
28
instrumentation/jetty-httpclient/jetty-httpclient-9.2/javaagent/build.gradle
This file was deleted.
Oops, something went wrong.
25 changes: 25 additions & 0 deletions
25
instrumentation/jetty-httpclient/jetty-httpclient-9.2/javaagent/build.gradle.kts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
plugins { | ||
id("otel.javaagent-instrumentation") | ||
} | ||
|
||
muzzle { | ||
pass { | ||
group.set("org.eclipse.jetty") | ||
module.set("jetty-client") | ||
versions.set("[9.2,9.4.+)") | ||
} | ||
} | ||
|
||
|
||
//Jetty client 9.2 is the best starting point, HttpClient.send() is stable there | ||
val jettyVers_base9 = "9.2.0.v20140526" | ||
|
||
|
||
dependencies { | ||
implementation(project(":instrumentation:jetty-httpclient:jetty-httpclient-9.2:library")) | ||
|
||
library("org.eclipse.jetty:jetty-client:${jettyVers_base9}") | ||
latestDepTestLibrary("org.eclipse.jetty:jetty-client:9.+") | ||
|
||
testImplementation(project(":instrumentation:jetty-httpclient:jetty-httpclient-9.2:testing")) | ||
} |
17 changes: 0 additions & 17 deletions
17
instrumentation/jetty-httpclient/jetty-httpclient-9.2/library/build.gradle
This file was deleted.
Oops, something went wrong.
16 changes: 16 additions & 0 deletions
16
instrumentation/jetty-httpclient/jetty-httpclient-9.2/library/build.gradle.kts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
plugins { | ||
id("otel.library-instrumentation") | ||
} | ||
|
||
|
||
//Jetty client 9.2 is the best starting point, HttpClient.send() is stable there | ||
val jettyVers_base9 = "9.2.0.v20140526" | ||
|
||
dependencies { | ||
library("org.eclipse.jetty:jetty-client:${jettyVers_base9}") | ||
latestDepTestLibrary("org.eclipse.jetty:jetty-client:9.+") | ||
testImplementation(project(":instrumentation:jetty-httpclient::jetty-httpclient-9.2:testing")) | ||
|
||
implementation("org.slf4j:slf4j-api") | ||
} | ||
|
22 changes: 0 additions & 22 deletions
22
instrumentation/jetty-httpclient/jetty-httpclient-9.2/testing/build.gradle
This file was deleted.
Oops, something went wrong.
19 changes: 19 additions & 0 deletions
19
instrumentation/jetty-httpclient/jetty-httpclient-9.2/testing/build.gradle.kts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
plugins { | ||
id("otel.java-conventions") | ||
} | ||
|
||
//Jetty client 9.2 is the best starting point, HttpClient.send() is stable there | ||
val jettyVers_base9 = "9.2.0.v20140526" | ||
|
||
dependencies { | ||
api(project(":testing-common")) | ||
|
||
|
||
api("org.eclipse.jetty:jetty-client:${jettyVers_base9}") | ||
|
||
implementation("org.junit.jupiter:junit-jupiter-api") | ||
|
||
implementation("org.codehaus.groovy:groovy-all") | ||
implementation("io.opentelemetry:opentelemetry-api") | ||
implementation("org.spockframework:spock-core") | ||
} |