SigningConfig

Added in 4.2.0

interface SigningConfig


Defines a variant's signing config.

Summary

Public functions

Unit

Sets the com.android.build.api.dsl.SigningConfig with information on how to retrieve the signing configuration.

Public properties

Property<Boolean>

Enable signing using JAR Signature Scheme (aka v1 signing).

Property<Boolean>

Enable signing using APK Signature Scheme v2 (aka v2 signing).

Property<Boolean>

Enable signing using APK Signature Scheme v3 (aka v3 signing).

Property<Boolean>

Enable signing using APK Signature Scheme v4 (aka v4 signing).

Public functions

setConfig

Added in 7.1.0
@Incubating
fun setConfig(signingConfig: SigningConfig): Unit

Sets the com.android.build.api.dsl.SigningConfig with information on how to retrieve the signing configuration.

Public properties

enableV1Signing

Added in 4.2.0
val enableV1SigningProperty<Boolean>

Enable signing using JAR Signature Scheme (aka v1 signing).

See Signing Your Applications

This property will override any value set using the corresponding DSL.

enableV2Signing

Added in 4.2.0
val enableV2SigningProperty<Boolean>

Enable signing using APK Signature Scheme v2 (aka v2 signing).

See Signing Your Applications

This property will override any value set using the corresponding DSL.

enableV3Signing

Added in 4.2.0
val enableV3SigningProperty<Boolean>

Enable signing using APK Signature Scheme v3 (aka v3 signing).

See APK Signature Scheme v3

This property will override any value set using the corresponding DSL.

enableV4Signing

Added in 4.2.0
val enableV4SigningProperty<Boolean>

Enable signing using APK Signature Scheme v4 (aka v4 signing).

This property will override any value set using the corresponding DSL.