ModuleNameResolutionResult

fun ModuleNameResolutionResult(resolvedModule: ResolvedModuleName)

Construct a new ModuleNameResolutionResult, upon successful resolution, with the resolved module.

Parameters

resolvedModule

The module that was successfully resolved.


Construct a new ModuleNameResolutionResult, upon an unsuccessful resolution, with an UnresolvedDependencyException containing the paths that did not have the missing module.

Parameters

e

The UnresolvedDependencyException that was thrown while resolving a module.