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 moduleGradlePath,
java.io.File buildFolder)
Stores the "build" folder path for the given module.
|
void |
setUpGlobalLibraryMap(com.android.builder.model.level2.GlobalLibraryMap globalLibraryMap)
Populate global library map from
GlobalLibraryMap by making a deep copy. |
public void findAndAddBuildFolderPath(@NonNull
java.lang.String moduleGradlePath,
@NonNull
java.io.File buildFolder)
moduleGradlePath - module's gradle path.buildFolderPath - path to the module's build directory.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
com.android.builder.model.level2.GlobalLibraryMap globalLibraryMap)
GlobalLibraryMap by making a deep copy.globalLibraryMap - GlobalLibraryMap model returned from Android Plugin.