Package org.ysb33r.gradle.git.publish
Interface SshKeys
- All Superinterfaces:
Serializable
Defines SSH access to a remote repository.
-
Method Summary
Modifier and TypeMethodDescriptiongetName()The name of the publication this is attached to.org.gradle.api.provider.Provider<String>The passphrase for the private key.org.gradle.api.provider.Provider<byte[]>The private key for accessing the remote repository.A map of the unresolved server host keys that will be accepted.org.gradle.api.provider.Provider<File>A directory which SSH can use for temporary work items.
-
Method Details
-
getName
String getName()The name of the publication this is attached to.- Returns:
- Publication name.
-
getPrivateKey
org.gradle.api.provider.Provider<byte[]> getPrivateKey()The private key for accessing the remote repository.- Returns:
- Private key. Can be empty if no SSH access was configured.
-
getPassphrase
org.gradle.api.provider.Provider<String> getPassphrase()The passphrase for the private key.- Returns:
- Passphrase. Can be empty if no passphrase is required.
-
getServerKeys
A map of the unresolved server host keys that will be accepted.- Returns:
- Map where the key is the host name and the value is a list of
PublicKeyinstances.
-
getWorkingDir
org.gradle.api.provider.Provider<File> getWorkingDir()A directory which SSH can use for temporary work items.- Returns:
- Directory.
-