What does this PR do?:
- Change the way the debug file is published
We discussed that the debug info could be moved into the main JAR.
This will make it easier to push the .debug file into the sonatype (instead of creating a separate JAR).
As we create a separate JAR for dd-trace-java, we don't need to worry about increasing the footprint of the deployed library.
- Add a linker flag to ensure build ID is added (even on musl)
Motivation:
Ensure we can download debug info from maven.
Simplify how debug info is published.
Additional Notes:
This will require a simple downstream PR (changing the folder we are looking at)
How to test the change?:
For Datadog employees:
- If this PR touches code that signs or publishes builds or packages, or handles
credentials of any kind, I've requested a review from @DataDog/security-design-and-guidance.
- This PR doesn't touch any of that.
- JIRA: [JIRA-XXXX]
Unsure? Have a question? Request a review!