Skip to content

Commit d7a5e59

Browse files
Fix compilation?
1 parent 74f1592 commit d7a5e59

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

dd-trace-core/build.gradle

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,10 @@ dependencies {
8080

8181
implementation group: 'com.google.re2j', name: 're2j', version: '1.7'
8282

83-
// Antithesis SDK for assertions and property testing
84-
implementation group: 'com.antithesis', name: 'antithesis-sdk-java', version: '0.1.5'
83+
// Antithesis SDK for assertions and property testing (optional - only used when available)
84+
compileOnly group: 'com.antithesis', name: 'antithesis-sdk-java', version: '0.1.5'
85+
// Jackson for Antithesis assertion details (if not already available transitively)
86+
compileOnly group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.15.2'
8587

8688
compileOnly group: 'com.github.spotbugs', name: 'spotbugs-annotations', version: '4.2.0'
8789

telemetry/build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ dependencies {
3535

3636
implementation(project(":internal-api"))
3737

38-
// Antithesis SDK for assertions and property testing
39-
implementation(group = "com.antithesis", name = "antithesis-sdk-java", version = "0.1.5")
40-
implementation(group = "com.fasterxml.jackson.core", name = "jackson-databind", version = "2.15.2")
38+
// Antithesis SDK for assertions and property testing (optional - only used when available)
39+
compileOnly(group = "com.antithesis", name = "antithesis-sdk-java", version = "0.1.5")
40+
compileOnly(group = "com.fasterxml.jackson.core", name = "jackson-databind", version = "2.15.2")
4141

4242
compileOnly(project(":dd-java-agent:agent-tooling"))
4343
testImplementation(project(":dd-java-agent:agent-tooling"))

0 commit comments

Comments
 (0)