SigningConfig

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

Defines a variant's signing config.

Summary

Public methods

abstract Unit
setConfig(signingConfig: SigningConfig)

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

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).

Public methods

setConfig

@Incubating abstract fun setConfig(signingConfig: SigningConfig): Unit

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

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.