Thomas Chan
06/02/2025, 4:01 AMThomas Chan
06/02/2025, 4:16 AMThomas Chan
06/02/2025, 4:22 AMThomas Chan
06/02/2025, 4:33 AMbuildSrc
directory is present at the root of a Gradle build, Gradle treats it as a Composite Build. Upon detecting the buildSrc
directory, Gradle: (...)
(source)Thomas Chan
06/02/2025, 4:37 AMWhen aA "build's root"? So a "build" is a directory? I suppose they meant to say: "When adirectory is present at the root of a Gradle build, (...)buildSrc
buildSrc
directory is present under a root project's directory"Thomas Chan
06/02/2025, 4:37 AMVampire
06/02/2025, 7:05 AMThomas Chan
06/02/2025, 7:19 AMThomas Chan
06/02/2025, 7:23 AMThomas Chan
06/02/2025, 7:23 AMVampire
06/02/2025, 8:43 AMThomas Chan
06/02/2025, 9:59 AMSettings
interface in Gradle API? 🤔Vampire
06/02/2025, 10:00 AMVampire
06/02/2025, 10:00 AMThomas Chan
06/02/2025, 10:02 AMVampire
06/02/2025, 10:02 AMThomas Chan
06/02/2025, 10:02 AMVampire
06/02/2025, 10:03 AMVampire
06/02/2025, 10:03 AMVampire
06/02/2025, 10:04 AMThomas Chan
06/02/2025, 10:10 AMThomas Chan
06/02/2025, 10:10 AMVampire
06/02/2025, 10:12 AMThomas Chan
06/02/2025, 10:12 AMVampire
06/02/2025, 10:13 AMThomas Chan
06/02/2025, 10:13 AMThomas Chan
06/02/2025, 10:13 AMVampire
06/02/2025, 10:15 AMThomas Chan
06/02/2025, 10:16 AMThomas Chan
06/02/2025, 10:16 AMVampire
06/02/2025, 10:18 AMThomas Chan
06/02/2025, 10:26 AMThomas Chan
06/02/2025, 10:30 AMVampire
06/02/2025, 10:42 AMAdam
06/02/2025, 1:51 PMTo my surprise I cannot find the definition of the noun "build" in the documentationThere is a definition in the glossary, but I'll let you decide whether it's useful or not :) https://docs.gradle.org/current/userguide/glossary.html#b
Thomas Chan
06/03/2025, 1:54 AMThomas Chan
06/03/2025, 1:58 AMBuild
A build is the aggregate of the atomic pieces of work performed by Gradle. It is made up of projects and those projects have a collection of tasks.
A build usually has an outcome of SUCCESS or FAILURE.
You can run a build using theorgradle
commands.gradlew
Gradle Build
A Gradle build can consist of one or more Gradle projects and is typically configured using afile at the root.settings.gradle(.kts)
When invoked, the Gradle build executes a set of tasks based on the defined build logic, often using the Gradle Wrapper ()../gradlew
Vampire
06/03/2025, 7:50 AMJulien Plissonneau Duquène
06/03/2025, 9:32 PM.gradle(.kts)
and others e.g. gradle.properties
) that are evaluated/executed during a build process. Not the same thing, but closely related.Vampire
06/03/2025, 9:39 PMJulien Plissonneau Duquène
06/03/2025, 9:56 PMVampire
06/03/2025, 10:16 PM