Notices: This section not yet converted to new layout. Download stats are rolling back out.

Gradle

4.4.0

Package test results are passing.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

This package was approved as a trusted package on 12/7/2017.

Gradle combines the power and flexibility of Apache Ant with the dependency management and conventions of Apache Maven into a more effective way to build. Powered by a Groovy DSL and packed with innovation, Gradle provides a declarative way to describe all kinds of builds through sensible defaults. Gradle is quickly becoming the build system of choice for many open source projects, leading edge enterprises and legacy automation challenges.

Gradle is a build tool with a focus on build automation and support for multi-language development. If you are building, testing, publishing, and deploying software on any platform, Gradle offers a flexible model that can support the entire development lifecycle from compiling and packaging code to publishing web sites. Gradle has been designed to support build automation across multiple languages and platforms including Java, Scala, Android, C/C++, and Groovy, and is closely integrated with development tools and continuous integration servers including Eclipse, IntelliJ, and Jenkins.

Learn more about what makes Gradle a compelling choice for build automation or get started with Gradle right now.

To install Gradle, run the following command from the command line or from PowerShell:

C:\> choco install gradle

To upgrade Gradle, run the following command from the command line or from PowerShell:

C:\> choco upgrade gradle

Files

Hide
  • tools\chocolateybeforemodify.ps1 Show
    $packageName    = $env:chocolateyPackageName
    $packageVersion = "4.4"
    $toolsDir       = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
    $fileLocation   = Join-Path $toolsDir "$packageName-$packageVersion"
    
    Remove-Item $fileLocation -Recurse -Force
    
  • tools\chocolateyinstall.ps1 Show
    $packageName = 'gradle'
    $version = '4.4'
    $checksum = 'FA4873AE2C7F5E8C02EC6948BA95848CEDCED6134772A0169718EADCB39E0A2F'
    $url = "https://services.gradle.org/distributions/gradle-$version-bin.zip"
    $installDir = Split-Path -parent $MyInvocation.MyCommand.Definition
    
    Install-ChocolateyZipPackage $packageName $url $installDir -Checksum $checksum -ChecksumType 'sha256'
    
    $gradle_home = Join-Path $installDir "$packageName-$version"
    $gradle_bat = Join-Path $gradle_home 'bin/gradle.bat'
    
    Install-ChocolateyEnvironmentVariable "GRADLE_HOME" $gradle_home 'Machine'
    Install-BinFile -Name 'gradle' -Path $gradle_bat
    
  • tools\chocolateyuninstall.ps1 Show
    $packageName = 'gradle'
    $version = '4.4'
    
    $installDir = Split-Path -parent $MyInvocation.MyCommand.Definition
    
    $gradle_home = Join-Path $installDir "$packageName-$version"
    $gradle_bat = Join-Path $gradle_home 'bin/gradle.bat'
    
    Install-ChocolateyEnvironmentVariable "GRADLE_HOME" $null 'Machine'
    Uninstall-BinFile -Name 'gradle' -Path $gradle_bat
    

Virus Scan Results

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Dependencies

This package has no dependencies.

Maintainer(s)

Software Author(s)

  • Gradle Inc.

Copyright

© 2017 Gradle Inc.

Tags

Release Notes

The Gradle team is pleased to announce Gradle 4.4.

First and foremost, this release of Gradle features some exciting improvements for IDE users:

  • Visual Studio 2017 is now supported. Please read details about vswhere and VS toolchain discovery changes if you plan to use Gradle with VS 2017.
  • The eclipse plugin now provides separate output folders. This allows Eclipse plugins to provide more sophisticated classpath management. Buildship 2.2 will take advantage of this feature to avoid one large global classpath when running Java applications or executing tests in Eclipse IDE.

No discussion about IDE support for Gradle would be complete without mentioning improvements to the Kotlin DSL. Version 0.13 is included in Gradle 4.4 and provides support for writing settings.gradle.kts files, Kotlin standard library extensions to the Java 7 and Java 8 APIs for use in build scripts, improvements to the plugins {} DSL, and more! See the Kotlin DSL 0.13 release notes for more details.

This version of Gradle supports version ranges in parent elements of a POM. You can see an example below.

C and C++ developers will enjoy better incremental builds and build cache support for C/C++ because this version of Gradle takes compiler version and system headers into account for up-to-date checks.

This version of Gradle fully supports the combination of Play 2.6 and Scala 2.12, with improvements and fixes to runPlayBinary, the distributed Play start script, and other improvements.

Previous versions of Gradle required that all transitive dependencies of a given plugin were present in the same repository as the plugin. Gradle 4.4 takes all plugin repositories into account and can resolve transitive plugin dependencies across them. Learn about this and other plugin repository handling improvements in the details.

Last but not least, several 3rd party dependencies including Ant were updated to their latest versions containing security and other bug fixes.

We hope you will build happiness with Gradle 4.4, and we look forward to your feedback via Twitter or on GitHub.

Version History

Version Downloads Last updated Status
Gradle 4.3.1 2010 Wednesday, November 8, 2017 approved
Gradle 4.3.0 362 Monday, November 6, 2017 approved
Gradle 4.2.1 2983 Tuesday, October 10, 2017 approved
Gradle 4.2.0 30 Tuesday, October 10, 2017 approved
Gradle 4.1.0 318 Monday, October 2, 2017 approved
Gradle 3.4.1 9919 Friday, March 17, 2017 approved
Gradle 3.1 10122 Sunday, October 2, 2016 approved
Gradle 3.0 1446 Saturday, August 20, 2016 approved
Gradle 2.14.1 771 Friday, August 12, 2016 approved
Show More

Discussion for the Gradle Package

Ground rules:

  • This discussion is only about Gradle and the Gradle package. If you have feedback for Chocolatey, please contact the google group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Gradle, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.

comments powered by Disqus