Symptom
./gradlew allTests fails at configuration time on develop:
> Could not resolve project :skainet-compile:skainet-compile-hlo.
Incompatible because this component declares attribute 'org.jetbrains.kotlin.platform.type'
with value 'wasm' and the consumer needed 'js'
Also reproducible with ./gradlew :skainet-io:skainet-io-iree-params:compileKotlinJs.
Cause
skainet-io-iree-params/build.gradle.kts declares a js() target (inherited from the skainet-io-gguf template it was modelled on). Its commonMain depends on :skainet-compile:skainet-compile-hlo, which does not publish a JS target — only jvm / android / ios* / macos* / linux* / wasmJs / wasmWasi. There is no JS variant to satisfy the consumer, and Gradle cannot fall back to a different platform.
Fix
Drop js() from skainet-io-iree-params until its upstream dependency supports it. Wasm targets keep working because they use wasm platform attributes, which the producer does publish.
An earlier attempt at this fix (commit fdd378e7 on feature/hlo-iree-params-writer) was lost when PR #525 merged — only the first commit made it in. Re-applying it as a standalone PR.
Scope
Narrow, build-only. No public API change. No runtime change. Two-line edit to one build.gradle.kts.
Symptom
./gradlew allTestsfails at configuration time on develop:Also reproducible with
./gradlew :skainet-io:skainet-io-iree-params:compileKotlinJs.Cause
skainet-io-iree-params/build.gradle.ktsdeclares ajs()target (inherited from theskainet-io-gguftemplate it was modelled on). ItscommonMaindepends on:skainet-compile:skainet-compile-hlo, which does not publish a JS target — only jvm / android / ios* / macos* / linux* / wasmJs / wasmWasi. There is no JS variant to satisfy the consumer, and Gradle cannot fall back to a different platform.Fix
Drop
js()fromskainet-io-iree-paramsuntil its upstream dependency supports it. Wasm targets keep working because they usewasmplatform attributes, which the producer does publish.An earlier attempt at this fix (commit
fdd378e7onfeature/hlo-iree-params-writer) was lost when PR #525 merged — only the first commit made it in. Re-applying it as a standalone PR.Scope
Narrow, build-only. No public API change. No runtime change. Two-line edit to one
build.gradle.kts.