[GRADLE-1398] Dependency but no repository fails "silently" Created: 25/Feb/11  Updated: 04/Jan/13  Resolved: 03/May/11

Status: Resolved
Project: Gradle
Affects Version/s: 1.0-milestone-1
Fix Version/s: 1.0-milestone-4

Type: Bug
Reporter: Russel Winder Assignee: Adam Murdoch
Resolution: Fixed Votes: 0


The context is a multi-project build, I haven't checked if the same is true in a single project build.

If there is a dependency, for example:

dependencies { testCompile 'junit:junit:4.8.2' }

but there is no repository specification, for example:

repositories { mavenCentral ( ) }

then, even if the dependency is in the Gradle cash, the dependecy is not added to the classpath and there is no message of any sort indicating this. Even with -d there is no error message just impenetrable messages about Ivy resolution and some sort of null.

Generated at Wed Jun 30 11:54:32 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.