Commit bd5c73d
Fix native-image build-time initialization cascade
Changed profiling-scrubber's internal-api dependency from 'api' to
'implementation'. The 'api' scope created a transitive dependency
chain (scrubber→internal-api→dd-trace-api) that exposed tracer
classes through the scrubber's API surface, causing them to
initialize at build time during GraalVM native-image compilation.
Using 'implementation' keeps internal-api as an internal dependency,
preventing the initialization cascade.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent 39cb67c commit bd5c73d
2 files changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
0 commit comments