Gradle-2.5-rc-1-bin.zip 12-Feb-2020 13:21 +0000 42.55M; gradle-2.5-rc-1-bin.zip.sha256 12-Feb-2020 13:21 +0000 64.00B. Download Gradle. To download visit Gradle Releases Page. Download the complete distribution which includes binaries, sources and offline documentation. For example you can download the latest release of Gradle, as of this update the version is gradle-4.0.2-all.zip. Upacking Gradle and Configure Environment Variables. Open Terminal.app. Maven Central and Bintray have announced that they will discontinue support for TLS v1.1 and below. Here’s what you need to know to correct your Gradle builds if you’re affected. Open a second File Explorer window and go to the directory where the Gradle distribution was downloaded. Double-click the ZIP archive to expose the content. Drag the content folder gradle-6.7 to your newly created C: Gradle folder. Alternatively you can unpack the Gradle distribution ZIP into C: Gradle using an archiver tool of your choice.
The current Gradle release is 6.7. You can download binaries and view docs for all Gradle versions from the releases page.
Prerequisites
Gradle runs on all major operating systems and requires only a Java JDK version 8 or higher to be installed. To check, run
java -version
:Additional resources
- On-demand and live online training is available for free to Gradle users.
- Self-paced tutorials are a good place to try Gradle with a variety of languages in addition to the docs.
- Gradle has a new visual build inspection tool called build scans.
- Finally, the Gradle Newsletter is a great way to keep
UP-TO-DATE
, with issues crafted monthly.
Installing with a package manager
SDKMAN! is a tool for managing parallel versions of multiple Software Development Kits on most Unix-based systems.
Homebrew is “the missing package manager for macOS”.
Other package managers are available, but the version of Gradle distributed by them is not controlled by Gradle, Inc. Linux package managers may distribute a modified version of Gradle that is incompatible or incomplete when compared to the official version (available from SDKMAN! or below).
› Additional helpful information
Installing manually
Step 1. Download the latest Gradle distribution
The current Gradle release is version 6.7, released on 14 Oct 2020. The distribution zip file comes in two flavors:
- Complete, with docs and sources
If in doubt, choose the binary-only version and browse docs and sources online.
Need to work with an older version? See the releases page.
Step 2. Unpack the distribution
Linux & MacOS users
Unzip the distribution zip file in the directory of your choosing, e.g.:
![Gradle Download Mac Gradle Download Mac](/uploads/1/2/4/6/124626906/316398042.jpg)
Microsoft Windows users
Create a new directory
C:Gradle
with File Explorer.Open a second File Explorer window and go to the directory where the Gradle distribution was downloaded. Double-click the ZIP archive to expose the content. Drag the content folder
gradle-6.7
to your newly created C:Gradle
folder.Alternatively you can unpack the Gradle distribution ZIP into
C:Gradle
using an archiver tool of your choice.Step 3. Configure your system environment
Linux & MacOS users
Configure your
PATH
environment variable to include the bin
directory of the unzipped distribution, e.g.:Microsoft Windows users
In File Explorer right-click on the
This PC
(or Computer
) icon, then click Properties
-> Advanced System Settings
-> Environmental Variables
.Under
System Variables
select Path
, then click Edit
. Add an entry for C:Gradlegradle-6.7bin
. Click OK to save.Step 4. Verify your installation
Open a console (or a Windows command prompt) and run
gradle -v
to run gradle and display the version, e.g.:› Additional helpful information
Upgrade with the Gradle Wrapper
If your existing Gradle-based build uses the Gradle Wrapper, you can easily upgrade by running the
wrapper
task, specifying the desired Gradle version:Note that it is not necessary for Gradle to be installed to use the Gradle wrapper. The next invocation of
gradlew
or gradlew.bat
will download and cache the specified version of Gradle.› Additional helpful information
Older Releases
You can find all releases and their checksums on the releases page.
Command-Line Completion
Command-line completion scripts are available for bash and zsh. This provides completion for Gradle tasks and command-line options.
Verified
This commit was signed with a verified signature.GPG key ID: B8E8DCD2148EF1E9Learn about signing commits
- Choose a tag to compare
Verified
This commit was signed with a verified signature.GPG key ID: B8E8DCD2148EF1E9Learn about signing commits
jjohannes released this Jul 26, 2017
This bug-fix release addresses two regressions in 4.0/4.0.1 that may lead to hanging build executions and one that can cause issues with dependency excludes. If your project uses Gradle 4.0 or 4.0.1, please update to 4.0.2.
Fixed issues:
Android Gradle Download
- gradle/gradle#2415: Resolving metadata from parent POM can hang the build
- gradle/gradle#2407: Exceptions in
@OutputFiles
method can hang the build w/o reporting exceptions - gradle/gradle#2480: Dependency excludes defined in a
beforeResolve
hook should be respected
Gradle Download For Mac
Upgrade Instructions
Switch your build to use Gradle 4.0.2 by updating your wrapper properties:
Mac Gradle Path
./gradlew wrapper --gradle-version=4.0.2
Standalone downloads are available at https://gradle.org/install.
Gradle 6.3 Download
Reporting Problems
If you find a problem with Gradle 4.0.2, please file a bug on GitHub Issues adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the forum.