Gradle: ExtendedBuildModel now exposes the project's build directory.

Change-Id: I174de21c907ed1b3ca046cc5b9b58543c50ecc39
(cherry picked from commit bfd4b28)