SigningConfig

interface SigningConfig


Defines a variant's signing config.

Summary

Public functions

@Incubating Unit
setConfig(signingConfig: SigningConfig)

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

@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

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

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

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

val enableV4SigningProperty<Boolean>

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

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