Component
interface Component : ComponentIdentity
TestComponent |
|
TestFixtures |
|
Variant |
Parent interface for all types of variants. |
AndroidTest |
Properties for the android test Variant of a module. |
ApplicationVariant |
Properties for the main Variant of an application. |
DynamicFeatureVariant |
|
LibraryVariant |
|
TestVariant |
|
UnitTest |
This interface is deprecated. Use the com.android.build.api.variant package |
UnitTest |
Summary
Public functions |
|
---|---|
Unit |
This function is deprecated. Use the instrumentation block. |
Unit |
<ParamT : InstrumentationParameters?> This function is deprecated. Use the instrumentation block. |
Public properties |
|
---|---|
Artifacts |
Access to the variant's buildable artifacts for build customization. |
Instrumentation |
Access to the variant's instrumentation options. |
JavaCompilation |
Access to the variant's java compilation options. |
Sources |
Access to variant's source files. |
Public functions
transformClassesWith
fun <ParamT : InstrumentationParameters?>transformClassesWith(
classVisitorFactoryImplClass: Class<AsmClassVisitorFactory<ParamT?>?>?,
scope: InstrumentationScope?,
instrumentationParamsConfig: ((ParamT) -> Unit)?
): Unit
Public properties
artifacts
val artifacts: Artifacts
Access to the variant's buildable artifacts for build customization.
instrumentation
val instrumentation: Instrumentation
Access to the variant's instrumentation options.
javaCompilation
val javaCompilation: JavaCompilation
Access to the variant's java compilation options.