Support deploying an artifact to the local cache in Gradle