public class ProjectConfigurations extends Object
ProjectConfiguration
s in Ant based project.Modifier and Type | Class and Description |
---|---|
static class |
ProjectConfigurations.Configuration
The
ProjectConfiguration implementation. |
static class |
ProjectConfigurations.ConfigurationProviderBuilder
Builder for
ProjectConfigurationProvider . |
Modifier and Type | Field and Description |
---|---|
static String |
CONFIG_PROPS_PATH
Path to the file holding the active configuration.
|
Modifier and Type | Method and Description |
---|---|
static ProjectConfigurations.ConfigurationProviderBuilder |
createConfigurationProviderBuilder(Project project,
PropertyEvaluator eval,
UpdateHelper updateHelper)
|
static PropertyEvaluator |
createPropertyEvaluator(Project project,
AntProjectHelper helper,
PropertyProvider... additionalPropertyProviders)
Creates a
PropertyEvaluator with ProjectConfiguration support. |
public static final String CONFIG_PROPS_PATH
@NonNull public static ProjectConfigurations.ConfigurationProviderBuilder createConfigurationProviderBuilder(@NonNull Project project, @NonNull PropertyEvaluator eval, @NonNull UpdateHelper updateHelper)
project
- the Project
to create builder foreval
- the Project
's PropertyEvaluator
updateHelper
- the Project
's UpdateHelper
ProjectConfigurations.ConfigurationProviderBuilder
@NonNull public static PropertyEvaluator createPropertyEvaluator(@NonNull Project project, @NonNull AntProjectHelper helper, @NonNull PropertyProvider... additionalPropertyProviders)
PropertyEvaluator
with ProjectConfiguration
support.project
- the project to create PropertyEvaluator
forhelper
- the Project
's AntProjectHelper
additionalPropertyProviders
- the additional PropertyProvider
sPropertyEvaluator