Fixed the Gradle deps and a better way of working offline