DslExtension
@Incubating class DslExtension
Third party DSL extension configuration.
When a third party plugins needs to extend the Android Gradle Plugin DSL, it needs to indicate the location of these extension elements.
Currently, we support extending :
- [com.android.build.api.dsl.DefaultConfig]
- [com.android.build.api.dsl.BuildType]
- [com.android.build.api.dsl.ProductFlavor]
A plugin can choose to extend one or more of these elements by calling the appropriate methods on the Builder
like Builder.extendBuildTypeWith
to extend com.android.build.api.dsl.BuildType
.
Because the number of instances of each extension point is determined during evaluation phase, Gradle will be creating those instances on demand. See full documentation at : https://docs.gradle.org/current/userguide/custom_plugins.html#sec:getting_input_from_the_build
Summary
Nested types |
|
---|---|
DslExtension.Builder |
Creates a |