Add indexhtml task dependencies to the build task.