Gradle
Gradle is a build automation tool for multi-language software development. It controls the development process in the tasks of compilation and packaging to testing, deployment, and publishing. Supported languages include Java (as well as Kotlin, Groovy, Scala), C/C++, and JavaScript.[2] It also collects statistical data about the usage of software libraries around the globe.
![]() | |
Developer(s) | Hans Dockter, Adam Murdoch, Szczepan Faber, Peter Niederwieser, Luke Daley, Rene Gröschke, Daz DeBoer |
---|---|
Initial release | 21 April 2008 |
Stable release | |
Preview release | 7.4 RC2
/ 2 February 2022 |
Repository | |
Written in | Java, Groovy, Kotlin |
Type | Build tool |
License | Apache License 2.0 |
Website | www |
Gradle builds on the concepts of Apache Ant and Apache Maven, and introduces a Groovy- and Kotlin-based domain-specific language contrasted with the XML-based project configuration used by Maven.[3] Gradle uses a directed acyclic graph to determine the order in which tasks can be run, through providing dependency management. It runs on the Java Virtual Machine.[4]
Gradle 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. It produces web-based build visualization called Gradle Build Scans. The software is extensible for new features and programming languages with a plugin subsystem.
Gradle is distributed as open-source software under the Apache License 2.0, and was first released in 2008.[5]
History
As of 2016 the initial plugins were primarily focused on Java,[6] Groovy, and Scala development and deployment.
See also
References
- https://github.com/gradle/gradle/releases/tag/v7.4.2.
- "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.
- "Getting Started · Building Java Projects with Gradle". Retrieved 26 March 2016.
- "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.
Further reading
- Berglund, Tim; McCullough, Matthew (July 2011). Building and Testing with Gradle. Foreword by Hans Dockter (First ed.). O'Reilly Media. p. 116. ISBN 978-1-4493-0463-8.
- Berglund, Tim (August 2013). Gradle Beyond the Basics (First ed.). O'Reilly Media. p. 69. ISBN 978-1-449-30467-6.
- Ikkink, Hubert (November 2012). Gradle Effective Implementation Guide (First ed.). Packt Publishing. p. 382. ISBN 978-1849518109.
- Berglund, Tim; McCullough, Matthew (May 2013). Gradle DSLs (First ed.). O'Reilly Media. pp. 50 est. ISBN 978-1-4493-0467-6.
- Muschko, Benjamin (Fall 2013). Gradle in Action (First ed.). Manning Publications. p. 390. ISBN 9781617291302.
External links
- Official website
- Official Gradle Enterprise website
- Breaking Open: Gradle - An interview about Gradle and Gradleware, its history, motivation and challenges on YouTube With Gradle founder Hans Dockter and Aleksandar Gargenta