This task is needed so that hubPreInstallCheck can depend on something that deploys all security resources except
for amps - those can't be deployed until the modules database has been deployed.
In order to guarantee that Gradle and the QS app perform this function in the same way, this task is being
overridden so that it can call DataHub.updateIndexes.