All Downloads are FREE. Search and download functionalities are using the official Maven repository.

main.name.remal.gradle_plugins.plugins.vcs.VcsAuth.kt Maven / Gradle / Ivy

There is a newer version: 1.9.2
Show newest version
package name.remal.gradle_plugins.plugins.vcs

import java.io.File

sealed class AbstractVcsAuth

class UsernamePasswordVcsAuth @JvmOverloads constructor(val username: String, val password: CharArray = charArrayOf()) : AbstractVcsAuth() {
    constructor(username: String, password: String) : this(username, password.toCharArray())
}

class SSHVcsAuth @JvmOverloads constructor(val privateKeyFile: File, val password: CharArray? = null) : AbstractVcsAuth() {
    constructor(privateKeyFile: File, password: String?) : this(privateKeyFile, password?.toCharArray())
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy