InsecureProtocolOption

Options for handling insecure protocols when generating a project with repositories.

Since

7.3

Entries

Link copied to clipboard

Fail if a URL with an insecure protocol is found. Refuse to generate a Gradle build.

Link copied to clipboard

Emit a warning if a URL with an insecure protocol is found. The generated Gradle build will fail at runtime.

Link copied to clipboard

Allow insecure protocols to be used when found. The generated Gradle build will not fail, but it will allow insecure protocols to be used.

Link copied to clipboard

Upgrade an insecure protocol to a secure one. The generated Gradle build will not fail, but the repository may not be usable over a secure protocol.

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.