-
public final class ProjectConfigUtility class, used for controlled access to a Project's configuration.
This class provides a safe interface to access the properties specific to the Android Gradle Plugin in a backwards-compatible manner. It will raise a ProjectConfigurationException early, whenever the plugin is not applied in an Android environment.
-
-
Field Summary
Fields Modifier and Type Field Description private final DomainObjectSet<out BaseVariant>variantsprivate final BooleanjacocoPluginAppliedprivate final BooleankotlinPluginAppliedprivate final Projectproject
-
Constructor Summary
Constructors Constructor Description ProjectConfig(Project project)
-
Method Summary
Modifier and Type Method Description final DomainObjectSet<out BaseVariant>getVariants()final BooleangetJacocoPluginApplied()final BooleangetKotlinPluginApplied()final ProjectgetProject()-
-
Method Detail
-
getVariants
final DomainObjectSet<out BaseVariant> getVariants()
-
getJacocoPluginApplied
final Boolean getJacocoPluginApplied()
-
getKotlinPluginApplied
final Boolean getKotlinPluginApplied()
-
getProject
final Project getProject()
-
-
-
-