Gradle
This article needs to be updated.(June 2020) |
Developer(s) | Hans Dockter, Adam Murdoch, Szczepan Faber, Peter Niederwieser, Luke Daley, Rene Gröschke, Daz DeBoer |
---|---|
Initial release | 21 April 2008 |
Stable release | 8.7[1]
/ 22 March 2024 |
Preview release | 8.8 RC1
/ 26 April 2024 |
Repository | |
Written in | Apache License 2.0 |
Website | www |
Gradle is a
Gradle builds on the concepts ofGradle was designed for multi-project builds, which can grow to be large. It operates based on a series of build tasks that can run serially or in parallel. Incremental builds are supported by determining the parts of the build tree that are already up to date; any task dependent only on those parts does not need to be re-executed. It also supports caching of build components, potentially across a shared network using the Gradle Build Cache. Combined with the proprietary hosted service of Develocity, it produces web-based build visualizations called Gradle Build Scans. The software is extensible for new features and programming languages with a plugin subsystem.
Gradle is distributed as
History
Origin of the name
Founder and CEO Hans Dockter has said that he originally wanted to name the project "Cradle". However, to make the name unique and less "diminutive" he instead chose "Gradle", taking the "G" from the use of Groovy.[6]
Major versions
Version | Date |
---|---|
0.1 | 21 April 2008[7] |
1.0 | 12 June 2012[8] |
2.0 | 1 July 2014 |
3.0 | 15 August 2016 |
4.0 | 14 June 2017 |
5.0 | 26 November 2018 |
6.0 | 8 November 2019 |
7.0 | 9 April 2021 |
8.0 | 13 February 2023 |
Features
Gradle offers support for all phases of a build process including compilation, verification, dependency resolving, test execution, source code generation, packaging and publishing. Because Gradle follows a convention over configuration approach, it is possible to describe all of these build phases in short configuration files. Conventions include the folder structure of the project, standard tasks and their order as well as dependency repositories. However, all conventions can be overridden by the project configuration if necessary. [9]
Plugins are a central component of Gradle. They allow for integration of a set of configurations and tasks into a project and can be included from a central plugin repository or custom-developed for a single project.
Distribution
Gradle is available as a separate download, but can also be found bundled in products such as Android Studio. Gradle Wrapper is the recommended way to invoke Gradle. It can download the declared version of Gradle beforehand if necessary. [10]
See also
References
- ^ "Release 8.7".
- ^ "Gradle User Manual". docs.gradle.org. Retrieved 14 November 2020.
- ^ "Getting Started With Gradle". Petri Kainulainen. Retrieved 26 March 2016.
- ^ "What is Gradle?".
- ^ "Our Story". Gradle Enterprise. Retrieved 15 October 2021.
- ^ "Why is gradle called gradle?". Gradle Forums. 20 December 2011. Retrieved 30 June 2022.
- ^ "Index of /gradle". 12 May 2008. Archived from the original on 12 May 2008. Retrieved 15 October 2021.
- ^ "Gradle | Releases". Gradle. Retrieved 15 October 2021.
- ^ "Building Java & JVM projects". 24 June 2023. Retrieved 24 June 2023.
- ^ "Gradle Wrapper Reference". Gradle User Manual. Retrieved 4 March 2024.
Further reading
- Berglund, Tim; McCullough, Matthew (July 2011). Building and Testing with Gradle. Foreword by Hans Dockter (First ed.). ISBN 978-1-4493-0463-8.
- Berglund, Tim (August 2013). Gradle Beyond the Basics (First ed.). ISBN 978-1-449-30467-6.
- Ikkink, Hubert (November 2012). Gradle Effective Implementation Guide (First ed.). ISBN 978-1849518109.
- Berglund, Tim; McCullough, Matthew (May 2013). Gradle DSLs (First ed.). ISBN 978-1-4493-0467-6.
- Muschko, Benjamin (Fall 2013). Gradle in Action (First ed.). ISBN 9781617291302.