gradle: allow all projects to use the indexing tasks

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
dist: adjust to new setup of the indexing tasks

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>