Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d1d4f57

Browse files
authored
Update build.gradle dd-trace-api implementation (DataDog#14608)
Previous implementation "group: 'com.datadoghq', name: 'dd-trace-api', version: {version}" resulted in build errors as the endpoint returned 404.
1 parent 789a7ed commit d1d4f57

File tree

1 file changed

+1
-1
lines changed
  • content/en/tracing/trace_collection/dd_libraries

1 file changed

+1
-1
lines changed

content/en/tracing/trace_collection/dd_libraries/java.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ Add the `dd-trace-api` dependency to your project. For Maven, add this to `pom.x
291291
For Gradle, add:
292292

293293
```gradle
294-
implementation group: 'com.datadoghq', name: 'dd-trace-api', version: {version}
294+
implementation 'com.datadoghq:dd-trace-api:{version}'
295295
```
296296

297297
Now add `@Trace` to methods to have them be traced when running with `dd-java-agent.jar`. If the Agent is not attached, this annotation does not affect your application.

0 commit comments

Comments
 (0)