AndroidTest
interface AndroidTest : GeneratesTestApk, TestComponent, HasAndroidResources
Properties for the android test Variant of a module.
Summary
Public properties |
|
---|---|
Property<String> |
Variant's application ID as present in the final manifest file of the APK. |
MapProperty<String, BuildConfigField<Serializable>> |
Variant's |
ListProperty<RegularFile> |
List of proguard configuration files for this variant. |
SigningConfig? |
Variant's signingConfig, initialized by the corresponding DSL element. |
Inherited functions |
||||
---|---|---|---|---|
|
||||
|
Inherited properties |
||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||||||||||||||||
|
||||||||||||||||||
|
||||||||||||||||||
|
Public properties
applicationId
val applicationId: Property<String>
Variant's application ID as present in the final manifest file of the APK.
buildConfigFields
val buildConfigFields: MapProperty<String, BuildConfigField<Serializable>>
Variant's BuildConfigField
which will be generated in the BuildConfig class.
proguardFiles
val proguardFiles: ListProperty<RegularFile>
List of proguard configuration files for this variant. The list is initialized from the corresponding DSL element, and cannot be queried at configuration time. At configuration time, you can only add new elements to the list.
signingConfig
val signingConfig: SigningConfig?
Variant's signingConfig, initialized by the corresponding DSL element.
Returns | |
---|---|
SigningConfig? |
Variant's config or null if the variant is not configured for signing. |