Gradle

From Justapedia, unleashing the power of collective wisdom
Jump to navigation Jump to search

Gradle
Developer(s)Hans Dockter, Adam Murdoch, Szczepan Faber, Peter Niederwieser, Luke Daley, Rene Gröschke, Daz DeBoer
Initial release21 April 2008; 15 years ago (2008-04-21)
Preview release
7.6 RC1 / 28 October 2022; 10 months ago (2022-10-28)
Written inJava, Groovy, Kotlin
TypeBuild tool
LicenseApache License 2.0
Websitewww.gradle.org

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.[1] It also collects statistical data about the usage of software libraries around the globe.

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.[2] 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.[3]

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 Free Software under the Apache License 2.0, and was first released in 2008.[4]

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.[5]

Major versions

Version Date
0.1 21 April 2008[6]
1.0 12 June 2012[7]
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

Distribution

Gradle is available as a separate download, but can also be found bundled in products such as Android Studio.

See also

References

  1. ^ "Gradle User Manual". docs.gradle.org. Retrieved 14 November 2020.
  2. ^ "Getting Started With Gradle". Petri Kainulainen. Retrieved 26 March 2016.
  3. ^ "What is Gradle?".
  4. ^ "Our Story". Gradle Enterprise. Retrieved 15 October 2021.
  5. ^ "Why is gradle called gradle?". Gradle Forums. 20 December 2011. Retrieved 30 June 2022.
  6. ^ "Index of /gradle". 12 May 2008. Archived from the original on 12 May 2008. Retrieved 15 October 2021.
  7. ^ "Gradle | Releases". Gradle. Retrieved 15 October 2021.

Further reading

External links