buildscript {
repositories {
//mavenLocal()
mavenRepo url: DRC_MAVEN_REPO_URL
}
dependencies {
classpath group: ‘ca.digitalrapids’, name: ‘java-to-rcs’, version: ‘1.0.1’
} }
When I had uncommented the “mavenLocal()” line, then Gradle failed to find the transitive dependency of “java-to-rcs” and errored out. Why didn’t it simply try to find the resource at the given maven repo URL if it couldn’t find it in the local maven cache?