GradleBootstrapAlias.

BootstrapCurrentGradle(ICakeContext) Method

Summary

Bootstrap the current gradle version into the tools folder.

Be aware that this is always the current version, as found in https://services.gradle.org/versions/current So the versions of gradle might change between usages.

Assembly
Cake.Gradle.dll
Namespace
Cake.Gradle
Containing Type
GradleBootstrapAlias

Syntax

public static void BootstrapCurrentGradle(this ICakeContext context)

Examples

Task("Bootstrap-Current-Gradle")
    .Does(() =>
{
    BootstrapCurrentGradle();
});

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext The context.

Return Value

Type Description
void