Skip to content

Commit

Permalink
Updated okhttp dependencies to runtime only
Browse files Browse the repository at this point in the history
Signed-off-by: Shephali Mittal <shephalm@amazon.com>
  • Loading branch information
Shephali Mittal committed Sep 21, 2023
1 parent c404b20 commit afdb9b2
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 7 deletions.
9 changes: 5 additions & 4 deletions plugins/telemetry-otel/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ dependencies {
api "io.opentelemetry:opentelemetry-exporter-otlp:${versions.opentelemetry}"
api "io.opentelemetry:opentelemetry-exporter-common:${versions.opentelemetry}"
api "io.opentelemetry:opentelemetry-exporter-otlp-common:${versions.opentelemetry}"
api "com.squareup.okhttp3:okhttp:4.10.0"
api "org.jetbrains.kotlin:kotlin-stdlib:1.6.20"
api "com.squareup.okio:okio-jvm:3.0.0"
runtimeOnly "org.jetbrains.kotlin:kotlin-stdlib:${versions.kotlin}"
runtimeOnly "com.squareup.okhttp3:okhttp:4.11.0"
runtimeOnly "com.squareup.okio:okio-jvm:3.5.0"
runtimeOnly "io.opentelemetry:opentelemetry-exporter-sender-okhttp:${versions.opentelemetry}"
testImplementation "io.opentelemetry:opentelemetry-sdk-testing:${versions.opentelemetry}"
}
Expand Down Expand Up @@ -101,7 +101,8 @@ thirdPartyAudit {
'io.opentelemetry.extension.incubator.metrics.LongGauge',
'io.opentelemetry.extension.incubator.metrics.LongGaugeAdviceConfigurer',
'io.opentelemetry.extension.incubator.metrics.LongHistogramAdviceConfigurer',
'io.opentelemetry.extension.incubator.metrics.LongUpDownCounterAdviceConfigurer'
'io.opentelemetry.extension.incubator.metrics.LongUpDownCounterAdviceConfigurer',
'kotlin.io.path.PathsKt'
)
}

Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
d2abf9e77736acc4450dc4a3f707fa2c10f5099d
1 change: 0 additions & 1 deletion plugins/telemetry-otel/licenses/okhttp-4.10.0.jar.sha1

This file was deleted.

1 change: 1 addition & 0 deletions plugins/telemetry-otel/licenses/okhttp-4.11.0.jar.sha1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
436932d695b2c43f2c86b8111c596179cd133d56
1 change: 0 additions & 1 deletion plugins/telemetry-otel/licenses/okio-jvm-3.0.0.jar.sha1

This file was deleted.

1 change: 1 addition & 0 deletions plugins/telemetry-otel/licenses/okio-jvm-3.5.0.jar.sha1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
d6a0bc7343210eff7dd5cfdd6eb9b5f0036638ce

0 comments on commit afdb9b2

Please sign in to comment.