Skip to content

Commit dab6e8f

Browse files
michalharakalclaude
andcommitted
build(test-java): consume SKaiNET via llm-bom
Drop explicit version refs for the three sk.ainet.core deps in the java smoke-test module and pull them in version-less through `platform(project(":llm-bom"))`. This makes the BOM load-bearing for at least one consumer in the build, so a regression in the BOM's constraints surfaces here instead of slipping out to published artifacts. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent ddff7b2 commit dab6e8f

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

llm-test/llm-test-java/build.gradle.kts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,12 @@ dependencies {
1919
testImplementation(project(":llm-inference:llama"))
2020
testImplementation(project(":llm-inference:bert"))
2121

22-
// SKaiNET runtime needed by KLlamaJava (JVM target)
23-
testImplementation(libs.skainet.lang.core)
24-
testImplementation(libs.skainet.backend.cpu)
25-
testImplementation(libs.skainet.io.gguf)
22+
// Use the BOM to pin SKaiNET versions. Coords intentionally version-less so
23+
// a broken BOM fails the build here instead of going unnoticed.
24+
testImplementation(platform(project(":llm-bom")))
25+
testImplementation("sk.ainet.core:skainet-lang-core")
26+
testImplementation("sk.ainet.core:skainet-backend-cpu")
27+
testImplementation("sk.ainet.core:skainet-io-gguf")
2628
}
2729

2830
tasks.test {

0 commit comments

Comments
 (0)