a small fix to the gradle.build so it can work offline too