Skip to content

Commit 62b9e64

Browse files
dougqhclaude
andcommitted
Move jol-core to the gradle version catalog
Per @bm1549's review — the jol-core test dependency (used by the StringIndex footprint check) now lives in gradle/libs.versions.toml under Profiling, and internal-api references it via libs.jol.core instead of an inline coordinate. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 5b8f19d commit 62b9e64

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

gradle/libs.versions.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ jmh = "1.37"
4242
# Profiling
4343
jmc = "8.1.0"
4444
jafar = "0.16.0"
45+
jol = "0.17"
4546

4647
# Web & Network
4748
jnr-unixsocket = "0.38.25"
@@ -125,6 +126,7 @@ instrument-java = { module = "com.datadoghq:dd-instrument-java", version.ref = "
125126
jmc-common = { module = "org.openjdk.jmc:common", version.ref = "jmc" }
126127
jmc-flightrecorder = { module = "org.openjdk.jmc:flightrecorder", version.ref = "jmc" }
127128
jafar-tools = { module = "io.btrace:jafar-tools", version.ref = "jafar" }
129+
jol-core = { module = "org.openjdk.jol:jol-core", version.ref = "jol" }
128130

129131
# Web & Network
130132
okio = { module = "com.datadoghq.okio:okio", version.ref = "okio" }

internal-api/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ dependencies {
281281
testImplementation("org.junit.vintage:junit-vintage-engine:${libs.versions.junit5.get()}")
282282
testImplementation(libs.commons.math)
283283
testImplementation(libs.bundles.mockito)
284-
testImplementation("org.openjdk.jol:jol-core:0.17")
284+
testImplementation(libs.jol.core)
285285
}
286286

287287
jmh {

0 commit comments

Comments
 (0)