GradleVersionIdentifier Class

Summary

Wraps the possibilities of https://services.gradle.org/versions/.
Assembly
Cake.Gradle.dll
Namespace
Cake.Gradle.Bootstrap
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["GradleVersionIdentifier"] class Type type-node

Syntax

public abstract class GradleVersionIdentifier

Constructors

Properties

Name Value Summary
Current GradleVersionIdentifier
Gets the identifier for current version.
static
Nightly GradleVersionIdentifier
Gets the identifier for nightly version.
static

Methods

Name Value Summary
ForVersion(string) GradleVersionIdentifier
Gets the identifier for a specific version.
static

Extension Methods

Name Value Summary
Dump<GradleVersionIdentifier>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<GradleVersionIdentifier>(GradleVersionIdentifier[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<GradleVersionIdentifier>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<GradleVersionIdentifier>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<GradleVersionIdentifier>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<GradleVersionIdentifier>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin