com.jayway.maven.plugins.android.configuration.Sign Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of android-maven-plugin Show documentation
Show all versions of android-maven-plugin Show documentation
Maven Plugin for Android Development
/*
* Copyright (C) 2009 Jayway AB
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.jayway.maven.plugins.android.configuration;
import org.apache.maven.plugins.annotations.Parameter;
/**
* Configuration for signing. Only receives config parameter values, and there is no logic in here. Logic is in
* {@link com.jayway.maven.plugins.android.AndroidSigner}.
*
* @author [email protected]
*/
public class Sign
{
/**
* Whether to sign with the debug keystore. Valid values are:
*
* true
= sign with the debug keystore.
* false
= don't sign with the debug keystore.
* auto
(default) = sign with debug keystore, unless another keystore is defined. (Signing with
* other keystores is not yet implemented. See
* Issue 2.)
*
*/
@Parameter ( property = "android.sign.debug", defaultValue = "auto" )
private String debug;
public String getDebug()
{
return debug;
}
}