DslExtension

@Incubating class DslExtension
kotlin.Any
   ↳ com.android.build.api.variant.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 :

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 classes

Creates a Builder to instance to create a DslExtension containing all desired extension points to the Android Gradle Plugin DSL.

Properties

Class<out Any>?

String

Class<out Any>?

Class<out Any>?

Properties

buildTypeExtensionType

val buildTypeExtensionType: Class<out Any>?

dslName

val dslName: String

productFlavorExtensionType

val productFlavorExtensionType: Class<out Any>?

projectExtensionType

val projectExtensionType: Class<out Any>?