Cake.Gradle

An aliase for Cake to help with running Gradle commands

#addin nuget:?package=Cake.Gradle&version=4.0.0

dotnet add package Cake.Gradle --version 4.0.0

<PackageReference Include="Cake.Gradle" Version="4.0.0" />

Aliases

Provides a way to bootstrap a local gradle installation.

General

BootstrapCurrentGradle() 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.

BootstrapGradle(string) 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.

BootstrapNightlyGradle() Bootstrap the nightly gradle version into the tools folder.

Be aware that this is always the nightly version, as found in https://services.gradle.org/versions/nightly So the versions of gradle might change between usages. Also, as this is the nightly version, it is entirely possible that this version might not be completely stable.

Gradle Get a Gradle runner.