Version of LibraryDependency that includes transitive jar dependencies as JarInfo. This is used as a temporary object as the dependencies are processed. This object contains more information and can be mutated (setIsOptional(boolean)) during the process. In the end the object will be converted into an immutable LibraryDependency instance.
Fields inherited from class | Fields |
---|---|
class LibraryBundle |
FN_PROGUARD_TXT |
Constructor and description |
---|
LibInfo
(File bundle, File explodedBundle, List<LibraryDependency> dependencies, Collection<JarInfo> jarDependencies, String name, String variantName, String projectPath, com.android.builder.model.MavenCoordinates requestedCoordinates, com.android.builder.model.MavenCoordinates resolvedCoordinates) |
Type | Name and description |
---|---|
Collection<JarInfo> |
getJarDependencies() |
List<LibInfo> |
getLibInfoDependencies() |
boolean |
isOptional() |
void |
setIsOptional(boolean isOptional) Mark the dependency as optional. |
Methods inherited from class | Name |
---|---|
class LibraryDependencyImpl |
equals, getDependencies, getLibraryDependencies, getManifestDependencies, getNonTransitiveRepresentation, getProjectVariant, getRequestedCoordinates, getResolvedCoordinates, hashCode, isOptional, toString |
class LibraryBundle |
equals, getAidlFolder, getAssetsFolder, getBundle, getBundleFolder, getExternalAnnotations, getFolder, getJarFile, getJarsRootFolder, getJniFolder, getLintJar, getLocalDependencies, getLocalJars, getManifest, getName, getProguardRules, getProject, getProjectVariant, getPublicResources, getRenderscriptFolder, getResFolder, getSymbolFile, hashCode, toString |
class Object |
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Mark the dependency as optional.