Disables some gradle code to work as a submodule.