Skip to content

Commit 66fe53b

Browse files
traskAnuraag Agrawal
and
Anuraag Agrawal
authored
Remove deps from javaagent (open-telemetry#2251)
* Remove deps from javaagent * Also Co-authored-by: Anuraag Agrawal <[email protected]>
1 parent 5dc2cd4 commit 66fe53b

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

instrumentation/aws-lambda-1.0/library/aws-lambda-1.0-library.gradle

+7-2
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,22 @@ dependencies {
2525
// in public API.
2626
library group: 'com.amazonaws', name: 'aws-lambda-java-events', version: '2.2.1'
2727

28-
implementation(
28+
compileOnly(
2929
'com.fasterxml.jackson.core:jackson-databind:2.10.5.1',
3030
'com.fasterxml.jackson.module:jackson-module-afterburner:2.9.10',
3131
'commons-io:commons-io:2.2')
32-
implementation deps.slf4j
32+
compileOnly deps.slf4j
3333

3434
implementation deps.opentelemetryExtAws
3535

3636
// 1.2.0 allows to get the function ARN
3737
testLibrary group: 'com.amazonaws', name: 'aws-lambda-java-core', version: '1.2.0'
3838

39+
testImplementation(
40+
'com.fasterxml.jackson.core:jackson-databind:2.10.5.1',
41+
'com.fasterxml.jackson.module:jackson-module-afterburner:2.9.10',
42+
'commons-io:commons-io:2.2')
43+
3944
testImplementation deps.opentelemetryTraceProps
4045
testImplementation deps.guava
4146

Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
apply from: "$rootDir/gradle/instrumentation-library.gradle"
22

33
dependencies {
4-
implementation group: 'io.netty', name: 'netty-codec-http', version: '4.1.0.Final'
4+
compileOnly group: 'io.netty', name: 'netty-codec-http', version: '4.1.0.Final'
55
}

0 commit comments

Comments
 (0)