unloadTarget

fun unloadTarget(target: ResolvedModuleName?)

Unload the target module and its dependents. If null is provided, unload all modules.

Parameters

target

The resolved name of the module to be unloaded, or null to unload all modules.