Structure
Six lessons on the shape of a real build: several projects in one folder, shared build logic in buildSrc, a convention plugin that replaces subprojects {}, a composite build that substitutes a dependency, the two caches, and the daemon this image switches off.
7.1
Multi-project builds
include, three projects and the task order of one build
Open
7.2
buildSrc
build logic compiled before the build, and the tasks it adds
Open
7.3
Convention plugins versus subprojects
why the shared block moved out of subprojects {} and into a plugin
Open
7.4
Composite builds
includeBuild and a dependency substituted by source
Open
7.5
Build and configuration caching
FROM-CACHE and Reusing configuration cache, both from a real run
Open
7.6
The daemon and faster builds
the daemon, why this image disables it, and the properties that make a build faster
Open