Adding root-build-script to gradle

This change adds a boolean to specify whether or not to use the
newly added root build script value.

Change-Id: Idf691c94e44e13fe5f3b03f9c2003875334b912f