Skip to content

Refine error handling for JVM dependencies that fail to resolve.

Administrator requested to merge olafurpg/coursier-exists into main

Created by: olafurpg

  • Use coursier resolve instead of coursier complete to determine the existence of a dependency. The complete method is only intended to power tab completions, it can still have false positives/negatives when determining whether a dependency exists.
  • Don't fail fast if a single version fails to resolve. Now, the repo gets created as long as at least one version resolves successfully. Versions that fail to resolve get logged as warnings instead (unless all versions fail to resolve, which is a hard error).
  • Use the --quit flag when resolving dependencies to reduce logs noise.

Merge request reports

Loading