Google is committed to advancing racial equity for Black communities. See how.

SigningConfig

@Incubating interface SigningConfig
com.android.build.api.variant.SigningConfig

Defines a variant's signing config.

Summary

Properties

abstract Property<Boolean>

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

abstract Property<Boolean>

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

abstract Property<Boolean>

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

abstract Property<Boolean>

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

Properties

enableV1Signing

abstract val enableV1Signing: Property<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

abstract val enableV2Signing: Property<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

abstract val enableV3Signing: Property<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

abstract val enableV4Signing: Property<Boolean>

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

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