Working off the gradle dependency docs, we have a build.gradle with snippets like this.
repositories { mavenCentral() ivy { name = \'localRepo\'
It's currently not possible, but it's an open request http://issues.gradle.org/browse/GRADLE-1066