setAllowInsecureProtocol

abstract fun setAllowInsecureProtocol(allowInsecureProtocol: Boolean)(source)

Specifies whether it is acceptable to communicate with a repository over an insecure HTTP connection, or with an SFTP server whose host key cannot be verified.

See also