Package com.android.build.gradle.options
Class SigningOptions
- java.lang.Object
-
- com.android.build.gradle.options.SigningOptions
-
@Immutable public final class SigningOptions extends java.lang.ObjectClass containing only the SigningConfig information which is injectable via ProjectOptions.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringSIGNING_CONFIG_NAME
-
Constructor Summary
Constructors Constructor Description SigningOptions(java.lang.String storeFile, java.lang.String storePassword, java.lang.String keyAlias, java.lang.String keyPassword, java.lang.String storeType, java.lang.Boolean v1Enabled, java.lang.Boolean v2Enabled)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetKeyAlias()java.lang.StringgetKeyPassword()java.lang.StringgetStoreFile()java.lang.StringgetStorePassword()java.lang.StringgetStoreType()java.lang.BooleangetV1Enabled()java.lang.BooleangetV2Enabled()static SigningOptionsreadSigningOptions(ProjectOptions options)Reads the override signing options from the project properties.
-
-
-
Field Detail
-
SIGNING_CONFIG_NAME
public static final java.lang.String SIGNING_CONFIG_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SigningOptions
public SigningOptions(@NonNull java.lang.String storeFile, @NonNull java.lang.String storePassword, @NonNull java.lang.String keyAlias, @NonNull java.lang.String keyPassword, @Nullable java.lang.String storeType, @Nullable java.lang.Boolean v1Enabled, @Nullable java.lang.Boolean v2Enabled)
-
-
Method Detail
-
readSigningOptions
@Nullable public static SigningOptions readSigningOptions(@NonNull ProjectOptions options)
Reads the override signing options from the project properties.- Parameters:
options- the project options to read- Returns:
- The signing options overrides, or null if the options are not present or are incomplete.
-
getStoreFile
@NonNull public java.lang.String getStoreFile()
-
getStorePassword
@NonNull public java.lang.String getStorePassword()
-
getKeyAlias
@NonNull public java.lang.String getKeyAlias()
-
getKeyPassword
@NonNull public java.lang.String getKeyPassword()
-
getStoreType
@Nullable public java.lang.String getStoreType()
-
getV1Enabled
@Nullable public java.lang.Boolean getV1Enabled()
-
getV2Enabled
@Nullable public java.lang.Boolean getV2Enabled()
-
-