-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
Gradle has a known issue when it comes to bom, it can't properly resolve dependency versions which have more than one layer of indirection
In my case, that is jackson.version.module.kotlin
in jackson-bom-2.16.1
<jackson.version>2.16.1</jackson.version>
<jackson.version.module>${jackson.version}</jackson.version.module>
<jackson.version.module.kotlin>${jackson.version.module}</jackson.version.module.kotlin>
Could not resolve all dependencies for configuration ':webstartRes'.
Could not find com.fasterxml.jackson.module:jackson-module-kotlin:.
If jackson.version.module.kotlin
had ${jackson.version}
, then it'd work fine instead
How to fix this?
- Switch to Gradle Platform, this will generate
.pom
for Maven users and.module
for Gradle ones - Leave the current Maven implementation as it is and simply inject within it a Gradle
.module
file generation and include that in the publication, as I did with pom-Scijava, where you have platform (and catalog, if you want) published altogether at the very same coordinates.
I can provide a PR for either of them
Metadata
Metadata
Assignees
Labels
No labels