Adds root modules to be taken into account during module
resolution.
Invalid module names may cause either
IllegalArgumentException to be thrown,
or diagnostics to be reported when the task is started.
moduleNames | the names of the root modules |
IllegalArgumentException | may be thrown for some invalid module names | |
IllegalStateException | if the task has started |
Diagram: Tool