Class able to generate a BuildConfig class in an Android project. The BuildConfig class contains constants related to the build target.
| Modifiers | Name | Description |
|---|---|---|
static String |
BUILD_CONFIG_NAME |
| Constructor and description |
|---|
BuildConfigGenerator
(File genFolder, String buildConfigPackageName)Creates a generator |
| Type | Name and description |
|---|---|
BuildConfigGenerator |
addField(String type, String name, String value) |
BuildConfigGenerator |
addItems(Collection<Object> items) |
void |
generate()Generates the BuildConfig class. |
File |
getBuildConfigFile() |
File |
getFolderPath()Returns a File representing where the BuildConfig class will be. |
Generates the BuildConfig class.
Returns a File representing where the BuildConfig class will be.