@Singleton
public class BuildConfigurationManager
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
void |
applyBuildConfiguration(com.android.build.gradle.BaseExtension baseExtension)
Applies the parsed
BuildConfiguration to the given Android Project. |
static BuildConfigurationManager |
getInstance(java.lang.String rootDir)
Gets the singleton instance of the BuildConfigurationManager.
|
java.util.List<java.lang.String> |
getRequiredPermissions()
Gets the list of permission that will be needed for our DataSources.
|
@NonNull public static BuildConfigurationManager getInstance(@NonNull java.lang.String rootDir)
rootDir - the root directory of the given Project.public void applyBuildConfiguration(@NonNull
com.android.build.gradle.BaseExtension baseExtension)
BuildConfiguration to the given Android Project.baseExtension - the AppExtension to add the BuildConfig.public java.util.List<java.lang.String> getRequiredPermissions()