New option manageDependencies added to the task:

- if manageDependencies is set to true - validFiles list will be sorted to contain parent classes before child classes