IntelliJ IDEA 14.0.0 Web Help

Validating Dependencies

Analyzing dependencies you might need to exclude some of them from the analysis process. In other words, you can create your own rules for dependencies analysis.

To validate dependencies

  1. In the toolbar of the Dependency Viewer, click the Edit Rules Edit Rules button. Dependency Validation dialog is opened.
  2. Define the scopes of prohibited and allowed usages:
    1. Click Add button in the Deny/Allow sections to add the default scope.
    2. Click a scope entry in the Deny/Allow usages of column and select one of the pre-defined scopes from the drop-down list, or click the ellipsis button and define scope in the Scopes dialog.
    3. Click a scope entry in the in / only in column, and select one of the pre-defined scopes, or click the ellipsis button and define scope in the Scopes dialog.
    4. Use Add and Remove buttons to make up the complete list.
  3. Apply changes. Dependency analysis reruns with the new rules.

See Also

Last modified: 4 December 2014
comments powered by Disqus