Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Gradle

From Wikipedia, the free encyclopedia
Free software build automation tool
This article needs to beupdated. Please help update this article to reflect recent events or newly available information.(June 2020)

Gradle Build Tool
An icon of an elephant, next to the word 'Gradle'
DevelopersHans Dockter, Adam Murdoch, Szczepan Faber, Peter Niederwieser, Luke Daley, Rene Gröschke, Daz DeBoer
Initial release21 April 2008; 17 years ago (2008-04-21)
Stable release
9.2.1[1] Edit this on Wikidata / 17 November 2025; 6 days ago (17 November 2025)
Preview release
9.2.0 RC3 / 24 October 2025; 30 days ago (2025-10-24)
Repository
Written inJava,Groovy,Kotlin
TypeBuild tool
LicenseApache License 2.0
Websitegradle.org

Gradle Build Tool ("Gradle") is abuild automation tool for multi-languagesoftware development. It manages tasks like compilation, packaging, testing, deployment, and publishing. Supported languages includeJava (as well asJDK-based languagesKotlin,Groovy,Scala),C/C++, andJavaScript.[2]Gradle builds on the concepts ofApache Ant andApache Maven, and introduces aGroovy- andKotlin-baseddomain-specific language contrasted with theXML-based project configuration used by Maven.[3] Gradle uses adirected acyclic graph to provide dependency management. The graph is used to determine the order in which tasks should be executed. Gradle runs on theJava 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 inparallel.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 supportscaching 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 calledGradle Build Scans. The software is extensible for new features andprogramming languages with aplugin subsystem.

Gradle is distributed asFree Software under theApache License 2.0, and was first released in 2008.[5]

History

[edit]

Origin of the name

[edit]

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 ofGroovy.[6]

Major versions

[edit]
VersionDate
0.121 April 2008[7]
1.012 June 2012[8]
2.01 July 2014
3.015 August 2016
4.014 June 2017
5.026 November 2018
6.08 November 2019
7.09 April 2021
8.013 February 2023
9.031 July 2025[8]

Features

[edit]

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 aconvention 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

[edit]

Gradle is available as a separate download, but can also be found bundled in products such asAndroid Studio. Gradle Wrapper is the recommended way to invoke Gradle. It can download the declared version of Gradle beforehand if necessary.[10]

See also

[edit]

References

[edit]
  1. ^"Release 9.2.1". 17 November 2025.
  2. ^"Gradle User Manual".docs.gradle.org. Retrieved14 November 2020.
  3. ^"Getting Started With Gradle".Petri Kainulainen. Retrieved26 March 2016.
  4. ^"What is Gradle?".
  5. ^"Our Story".Gradle.com. Retrieved15 October 2021.
  6. ^"Why is gradle called gradle?".Gradle Forums. 20 December 2011. Retrieved30 June 2022.
  7. ^"Index of /gradle". 12 May 2008. Archived fromthe original on 12 May 2008. Retrieved15 October 2021.
  8. ^ab"Gradle | Releases".Gradle. Retrieved15 October 2021.
  9. ^"Building Java & JVM projects". 24 June 2023. Retrieved24 June 2023.
  10. ^"Gradle Wrapper Reference".Gradle User Manual. Retrieved4 March 2024.

Further reading

[edit]

External links

[edit]
Retrieved from "https://en.wikipedia.org/w/index.php?title=Gradle&oldid=1318527426"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp