This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.Gradle.
Summary
Bootstrap a specific version of gradle.
The version must be a complete match and exist in the gradle list of versions.
I.e. The json
at https://services.gradle.org/versions/all
must contain an element whose version matches exactly the given version.
- Assembly
- Cake
.Gradle .dll - Namespace
- Cake
.Gradle - Containing Type
- GradleBootstrapAlias
Syntax
public static void BootstrapGradle(this ICakeContext context, string version)
Examples
Task("Bootstrap-Gradle-7")
.Does(() =>
{
BootstrapGradle("7.0.2");
});
Attributes
Type | Description |
---|---|
Cake |
Parameters
Name | Type | Description |
---|---|---|
context | ICakeContext | The context. |
version | string | The version to get. |
Return Value
Type | Description |
---|---|
void |