dd-sdk-android-okhttp
artifact explicitly mentions io.opentracing.Span
in the api, but does not declare the dep in the maven/gradle metadata
#2486
Labels
bug
Something isn't working
Describe the bug
io.opentracing.Span
is in the API ofdd-sdk-android-okhttp
, see here:dd-sdk-android/integrations/dd-sdk-android-okhttp/api/dd-sdk-android-okhttp.api
Line 85 in 58f27a4
but the pom/module file doesn't mention
io.opentracing:opentracing-api
:see https://repo1.maven.org/maven2/com/datadoghq/dd-sdk-android-okhttp/2.17.0/dd-sdk-android-okhttp-2.17.0.pom
and
see https://repo1.maven.org/maven2/com/datadoghq/dd-sdk-android-okhttp/2.17.0/dd-sdk-android-okhttp-2.17.0.module
Kotlin 2.1.0 is more picky about missing deps.
Reproduction steps
Use Kotlin 2.1.0, and use
dd-sdk-android-okhttp
You will get an error like this:
Logcat logs
No response
Expected behavior
You should add
api(libs.openTracingApi)
here:dd-sdk-android/integrations/dd-sdk-android-okhttp/build.gradle.kts
Lines 49 to 51 in 58f27a4
Affected SDK versions
2.17.0
Latest working SDK version
🤷♂️
Did you confirm if the latest SDK version fixes the bug?
Yes
Kotlin / Java version
2.1.0
Gradle / AGP version
8.11, 8.7.3
Other dependencies versions
No response
Device Information
No response
Other relevant information
No response
The text was updated successfully, but these errors were encountered: