com.android.builder.model
Interface BaseConfig

All Known Subinterfaces:
BuildType, ProductFlavor

public interface BaseConfig

Base config object for Build Type and Product flavor.


Method Summary
 java.util.Map<java.lang.String,ClassField> getBuildConfigFields()
          Map of Build Config Fields where the key is the field name.
 java.util.Collection<java.io.File> getConsumerProguardFiles()
          Returns the list of proguard rule files for consumers of the library to use.
 java.util.Map<java.lang.String,java.lang.String> getManifestPlaceholders()
          Returns the map of key value pairs for placeholder substitution in the android manifest file.
 java.lang.Boolean getMultiDexEnabled()
          Returns whether multi-dex is enabled.
 java.io.File getMultiDexKeepFile()
           
 java.io.File getMultiDexKeepProguard()
           
 java.lang.String getName()
           
 java.util.Collection<java.io.File> getProguardFiles()
          Returns the list of proguard rule files.
 java.util.Map<java.lang.String,ClassField> getResValues()
          Map of generated res values where the key is the res name.
 

Method Detail

getName

@NonNull
java.lang.String getName()

getBuildConfigFields

@NonNull
java.util.Map<java.lang.String,ClassField> getBuildConfigFields()
Map of Build Config Fields where the key is the field name.

Returns:
a non-null map of class fields (possibly empty).

getResValues

@NonNull
java.util.Map<java.lang.String,ClassField> getResValues()
Map of generated res values where the key is the res name.

Returns:
a non-null map of class fields (possibly empty).

getProguardFiles

@NonNull
java.util.Collection<java.io.File> getProguardFiles()
Returns the list of proguard rule files.

Returns:
a non-null list of files.

getConsumerProguardFiles

@NonNull
java.util.Collection<java.io.File> getConsumerProguardFiles()
Returns the list of proguard rule files for consumers of the library to use.

Returns:
a non-null list of files.

getManifestPlaceholders

@NonNull
java.util.Map<java.lang.String,java.lang.String> getManifestPlaceholders()
Returns the map of key value pairs for placeholder substitution in the android manifest file. This map will be used by the manifest merger.

Returns:
the map of key value pairs.

getMultiDexEnabled

@Nullable
java.lang.Boolean getMultiDexEnabled()
Returns whether multi-dex is enabled. This can be null if the flag is not set, in which case the default value is used.


getMultiDexKeepFile

@Nullable
java.io.File getMultiDexKeepFile()

getMultiDexKeepProguard

@Nullable
java.io.File getMultiDexKeepProguard()