SIMULATAN
05/24/2025, 4:34 PMproduct:
type: lib
platforms:
- js
settings:
ktor: enabled
dependencies:
- $ktor.client.core
dependencies@js:
- $ktor.client.js
..I encounter two issues:
1. the io.ktor:ktor-bom
dependency could not be resolved for the jsPackageJson
task (see the log) - may be a problem with the Ktor bom though. Hardcoding the full dependency (including the version) works just fine..
2. unfortunately, $ktor.client.js
has no catalog entry. However, looking at mvnrepository.com, I can clearly find a mention of the dependency in the bom. It looks like all entries are hardcoded.. are there any plans to generate it based on the entries of the respective BOMs? Updating this massive single file for sure is quite the task..joffrey
05/25/2025, 10:08 AM$kotlin.*
catalog, which is always provided even when no BOMs are involved. The BOM is about allowing to omit the versions when declaring dependencies, while the catalog is about providing a type-safe shortcut to declare dependencies without explicitly listing the coordinates. We offer additional library catalogs as convenience for users when they enable compose
, ktor
, or spring
, to help with frequently used dependencies. We also automatically add a BOM for convenience. They play well together but don't have to be strictly aligned, so I don't believe we'll generate all of those based on the BOMs. That said, it could be an idea to augment the hardcoded catalogs with generated entries from the BOM. Thanks!SIMULATAN
05/25/2025, 11:43 AM