Stay organized with collections
Save and categorize content based on your preferences.
SigningConfig
@Incubating interface SigningConfig : Named
DSL object for configuring options related to signing for APKs and bundles.
ApkSigningConfig extends this with options relating to just APKs
Summary
Public methods
|
abstract Unit |
Copies all properties from the given signing config.
|
Properties
|
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.
|
Public methods
initWith
abstract fun initWith(that: SigningConfig): Unit
Copies all properties from the given signing config.
Properties
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\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Known Direct Subclasses [ApkSigningConfig](/reference/tools/gradle-api/7.0/com/android/build/api/dsl/ApkSigningConfig) |------------------------------------------------------------------------------------------------|------------------------------------------| | [ApkSigningConfig](/reference/tools/gradle-api/7.0/com/android/build/api/dsl/ApkSigningConfig) | DSL object to configure signing configs. | |\n\nDSL object for configuring options related to signing for APKs and bundles.\n\n[ApkSigningConfig](/reference/tools/gradle-api/7.0/com/android/build/api/dsl/ApkSigningConfig) extends this with options relating to just APKs\n\nSummary\n-------\n\n| ### Public methods ||\n|---------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------|\n| abstract [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [initWith](#initWith(com.android.build.api.dsl.SigningConfig))`(`that:` `[SigningConfig](#)`)` Copies all properties from the given signing config. |\n\n| ### Properties ||\n|--------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------|\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\nPublic methods\n--------------\n\n### initWith\n\n```\nabstract fun initWith(that: SigningConfig): Unit\n```\n\nCopies all properties from the given signing config.\n\nProperties\n----------\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)"]]