Adds build gradle
Visibility changes to allow more extensible graph customisations.