Class SigningOptions


  • @Immutable
    public final class SigningOptions
    extends java.lang.Object
    Class containing only the SigningConfig information which is injectable via ProjectOptions.
    • 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()