public interface Dependencies
AndroidArtifact.| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<AndroidAtom> |
getAtoms()
Deprecated.
|
AndroidAtom |
getBaseAtom()
Deprecated.
|
java.util.Collection<JavaLibrary> |
getJavaLibraries()
The list of Java library dependencies.
|
java.util.Collection<AndroidLibrary> |
getLibraries()
The list of Android library dependencies.
|
java.util.Collection<java.lang.String> |
getProjects()
Deprecated.
|
@NonNull @Deprecated java.util.Collection<AndroidAtom> getAtoms()
The list contains direct dependencies only, which themselves contain their transitive dependencies.
This is only valid for versions 2.3 and 2.4. On version 2.5+ this is empty.
Atoms can not be external dependencies, so Library.getProject() never returns
null.
@NonNull java.util.Collection<AndroidLibrary> getLibraries()
Library.getProject().@NonNull java.util.Collection<JavaLibrary> getJavaLibraries()
Library.getProject(). Also, the collection
contains only the direct dependencies, which themselves contain their transitive
dependencies.@NonNull @Deprecated java.util.Collection<java.lang.String> getProjects()
getJavaLibraries()@Nullable @Deprecated AndroidAtom getBaseAtom()
This is only valid for versions 2.3 and 2.4. On version 2.5+ this is null.