public class IdeDependenciesFactory
extends java.lang.Object
IdeDependencies from BaseArtifact.| Constructor and Description |
|---|
IdeDependenciesFactory() |
| Modifier and Type | Method and Description |
|---|---|
IdeDependencies |
create(com.android.builder.model.BaseArtifact artifact,
GradleVersion modelVersion)
Create
IdeDependencies from BaseArtifact. |
void |
findAndAddBuildFolderPath(java.lang.String buildId,
java.lang.String moduleGradlePath,
java.io.File buildFolder)
Stores the "build" folder path for the given module.
|
void |
setRootBuildId(java.lang.String rootBuildId)
Set the build identifier of root project.
|
void |
setUpGlobalLibraryMap(java.util.List<com.android.builder.model.level2.GlobalLibraryMap> globalLibraryMaps)
Populate global library map from the list of
GlobalLibraryMap by merging and making
deep copies of each entry. |
public void findAndAddBuildFolderPath(@NonNull
java.lang.String buildId,
@NonNull
java.lang.String moduleGradlePath,
@NonNull
java.io.File buildFolder)
buildId - build identifier of project.moduleGradlePath - module's gradle path.buildFolder - path to the module's build directory.public void setRootBuildId(@NonNull
java.lang.String rootBuildId)
rootBuildId - build identifier of root project.public IdeDependencies create(@NonNull com.android.builder.model.BaseArtifact artifact, @Nullable GradleVersion modelVersion)
IdeDependencies from BaseArtifact.artifact - Instance of BaseArtifact returned from Android plugin.modelVersion - Version of Android plugin.IdeDependencies.public void setUpGlobalLibraryMap(@NonNull
java.util.List<com.android.builder.model.level2.GlobalLibraryMap> globalLibraryMaps)
GlobalLibraryMap by merging and making
deep copies of each entry.globalLibraryMaps - List of GlobalLibraryMap model returned from Android Plugin.