com.android.builder.model
Interface Dependencies


public interface Dependencies

A set of dependencies for an AndroidArtifact.


Method Summary
 java.util.Collection<java.io.File> getJars()
          The list of jar 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.

getJars

@NonNull
java.util.Collection<java.io.File> getJars()
The list of jar dependencies. This only includes external dependencies.

Returns:
the list of jar files.

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.