com.android.builder.model
Interface Dependencies


public interface Dependencies

A set of dependencies for an AndroidArtifact.


Method Summary
 java.util.Collection<JavaLibrary> getJavaLibraries()
          The list of Java library dependencies.
 java.util.List<AndroidLibrary> getLibraries()
          The list of Android library dependencies.
 java.util.Collection<java.lang.String> getProjects()
          The list of project dependencies.
 

Method Detail

getLibraries

@NonNull
java.util.List<AndroidLibrary> getLibraries()
The list of Android library dependencies. This includes both modules and external dependencies.

Returns:
the list of libraries.

getJavaLibraries

@NonNull
java.util.Collection<JavaLibrary> getJavaLibraries()
The list of Java library dependencies. This only includes external dependencies.

Returns:
the list of Java library dependencies.

getProjects

@NonNull
java.util.Collection<java.lang.String> getProjects()
The list of project dependencies. This is only for non Android module dependencies (which right now is Java-only modules).

Returns:
the list of projects.