Fix gradle config for using as a subproject