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

SigningConfig

@Incubating interface SigningConfig : Named
com.android.build.api.dsl.SigningConfig

DSL object to configure signing configs.

Summary

Properties

abstract Boolean?

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

abstract Boolean?

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

abstract Boolean?

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

abstract Boolean?

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

abstract Boolean

Whether signing using JAR Signature Scheme (aka v1 signing) is enabled.

abstract Boolean

Whether signing using APK Signature Scheme v2 (aka v2 signing) is enabled.

abstract String?

Key alias used when signing.

abstract String?

Key password used when signing.

abstract File?

Store file used when signing.

abstract String?

Store password used when signing.

abstract String?

Store type used when signing.

Properties

enableV1Signing

abstract var enableV1Signing: Boolean?

Enable signing using JAR Signature Scheme (aka v1 signing). If null, a default value is used.

See Signing Your Applications

enableV2Signing

abstract var enableV2Signing: Boolean?

Enable signing using APK Signature Scheme v2 (aka v2 signing). If null, a default value is used.

See Signing Your Applications

enableV3Signing

abstract var enableV3Signing: Boolean?

Enable signing using APK Signature Scheme v3 (aka v3 signing). If null, a default value is used.

See APK Signature Scheme v3

enableV4Signing

abstract var enableV4Signing: Boolean?

Enable signing using APK Signature Scheme v4 (aka v4 signing). If null, a default value is used.

isV1SigningEnabled

abstract var isV1SigningEnabled: Boolean

Deprecated.

Whether signing using JAR Signature Scheme (aka v1 signing) is enabled.

See Signing Your Applications

isV2SigningEnabled

abstract var isV2SigningEnabled: Boolean

Deprecated.

Whether signing using APK Signature Scheme v2 (aka v2 signing) is enabled.

See Signing Your Applications

keyAlias

abstract var keyAlias: String?

Key alias used when signing.

See Signing Your Applications

keyPassword

abstract var keyPassword: String?

Key password used when signing.

See Signing Your Applications

storeFile

abstract var storeFile: File?

Store file used when signing.

See Signing Your Applications

storePassword

abstract var storePassword: String?

Store password used when signing.

See Signing Your Applications

storeType

abstract var storeType: String?

Store type used when signing.

See Signing Your Applications