Interface DependencyResolver
-
- All Known Implementing Classes:
LegacyDependencyResolver,LocalDependencyResolver,MavenDependencyResolver,PropertiesDependencyResolver
public interface DependencyResolverProvides mapping between a Maven coordinate (e.g.org.robolectric:android-all:7.1.0_r7-robolectric-r1) and a file on disk (e.g.android-all-7.1.0_r7-robolectric-r1.jar).An instance of
DependencyResolveris employed whenDefaultSdkProvideris used.See
org.robolectric.pluginapifor instructions for providing your own implementation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description URLgetLocalArtifactUrl(DependencyJar dependency)default URL[]getLocalArtifactUrls(DependencyJar dependency)Deprecated.Robolectric will never ask for a dependency composed of more than one artifact, so this method isn't necessary.
-
-
-
Method Detail
-
getLocalArtifactUrl
URL getLocalArtifactUrl(DependencyJar dependency)
-
getLocalArtifactUrls
@Deprecated default URL[] getLocalArtifactUrls(DependencyJar dependency)
Deprecated.Robolectric will never ask for a dependency composed of more than one artifact, so this method isn't necessary.Returns URLs representing the full transitive dependency graph of the given Maven dependency.
-
-