Stay organized with collections
Save and categorize content based on your preferences.
SigningConfig
@Incubating interface SigningConfig : Named
DSL object to configure signing configs.
Summary
Properties
|
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
isV1SigningEnabled
abstract var isV1SigningEnabled: Boolean
Whether signing using JAR Signature Scheme (aka v1 signing) is enabled.
See Signing Your Applications
isV2SigningEnabled
abstract var isV2SigningEnabled: Boolean
Whether signing using APK Signature Scheme v2 (aka v2 signing) is enabled.
See Signing Your Applications
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# SigningConfig\n=============\n\n```\n@Incubating interface SigningConfig : Named\n```\n\n|----------------------------------------------|\n| [com.android.build.api.dsl.SigningConfig](#) |\n\nDSL object to configure signing configs.\n\nSummary\n-------\n\n| ### Properties ||\n|---------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------|\n| abstract [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) | [isV1SigningEnabled](#isV1SigningEnabled:kotlin.Boolean) Whether signing using JAR Signature Scheme (aka v1 signing) is enabled. |\n| abstract [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) | [isV2SigningEnabled](#isV2SigningEnabled:kotlin.Boolean) Whether signing using APK Signature Scheme v2 (aka v2 signing) is enabled. |\n| abstract [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)? | [keyAlias](#keyAlias:kotlin.String) Key alias used when signing. |\n| abstract [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)? | [keyPassword](#keyPassword:kotlin.String) Key password used when signing. |\n| abstract [File](http://docs.oracle.com/javase/8/docs/api/java/io/File.html)? | [storeFile](#storeFile:java.io.File) Store file used when signing. |\n| abstract [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)? | [storePassword](#storePassword:kotlin.String) Store password used when signing. |\n| abstract [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)? | [storeType](#storeType:kotlin.String) Store type used when signing. |\n\nProperties\n----------\n\n### isV1SigningEnabled\n\n```\nabstract var isV1SigningEnabled: Boolean\n```\n\nWhether signing using JAR Signature Scheme (aka v1 signing) is enabled.\n\nSee [Signing Your Applications](http://developer.android.com/tools/publishing/app-signing.html) \n\n### isV2SigningEnabled\n\n```\nabstract var isV2SigningEnabled: Boolean\n```\n\nWhether signing using APK Signature Scheme v2 (aka v2 signing) is enabled.\n\nSee [Signing Your Applications](http://developer.android.com/tools/publishing/app-signing.html) \n\n### keyAlias\n\n```\nabstract var keyAlias: String?\n```\n\nKey alias used when signing.\n\nSee [Signing Your Applications](http://developer.android.com/tools/publishing/app-signing.html) \n\n### keyPassword\n\n```\nabstract var keyPassword: String?\n```\n\nKey password used when signing.\n\nSee [Signing Your Applications](http://developer.android.com/tools/publishing/app-signing.html) \n\n### storeFile\n\n```\nabstract var storeFile: File?\n```\n\nStore file used when signing.\n\nSee [Signing Your Applications](http://developer.android.com/tools/publishing/app-signing.html) \n\n### storePassword\n\n```\nabstract var storePassword: String?\n```\n\nStore password used when signing.\n\nSee [Signing Your Applications](http://developer.android.com/tools/publishing/app-signing.html) \n\n### storeType\n\n```\nabstract var storeType: String?\n```\n\nStore type used when signing.\n\nSee [Signing Your Applications](http://developer.android.com/tools/publishing/app-signing.html)"]]