Complete the code to define a signing configuration in the build.gradle.kts file.
signingConfigs {
create("release") {
storeFile = file([1])
}
}The storeFile property expects a file path as a string. Here, "keystore.jks" is a common keystore file name.
Complete the code to set the keystore password in the signing configuration.
signingConfigs {
create("release") {
storePassword = [1]
}
}The storePassword must be a string, so it needs to be in quotes.
Fix the error in the code by completing the alias property correctly.
signingConfigs {
create("release") {
keyAlias = [1]
}
}The keyAlias must be a string, so it needs to be enclosed in quotes.
Fill both blanks to complete the signing configuration with key password and store password.
signingConfigs {
create("release") {
keyPassword = [1]
storePassword = [2]
}
}Both keyPassword and storePassword require string values, so they must be enclosed in quotes.
Fill all three blanks to define a complete release signing configuration with store file, key alias, and key password.
signingConfigs {
create("release") {
storeFile = file([1])
keyAlias = [2]
keyPassword = [3]
}
}The storeFile needs a file path string, keyAlias and keyPassword need string values, all enclosed in quotes.