keystore()
keystore()
contains the data for a key pair created by the keytool
executable that comes with the JDK. This is a required input for an android_binary
rule.Arguments
name
(required) #The short name for this build target.
store
(required) #The path to the file that contains the key. This is the path that was passed as the
-keystore
argument when you rankeytool
.properties
(required) #The path to the
.properties
file that contains the following values:# The value that you passed as the argument to -alias # when you ran keytool. key.alias=my_alias # The value that you entered in response to # the "Enter keystore password:" prompt. key.store.password=store_password # The value that you entered in response to # the "Enter key password for <my_alias>" prompt. key.alias.password=alias_password
visibility
(defaults to[]
) #List of build target patterns that identify the build rules that can include this rule as a dependency, for example, by listing it in their
deps
orexported_deps
attributes. For more information, see visibility.licenses
(defaults to[]
) #Set of license files for this library. To get the list of license files for a given build rule and all of its dependencies, you can use
buck query
.labels
(defaults to[]
) #Set of arbitrary strings which allow you to annotate a build rule with tags that can be searched for over an entire dependency tree using
buck query attrfilter()
.