buildCache.adoc

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Rename user manual asciidoc files to snake_case

This makes the file names match the output HTML file names,

allowing for us to convert the user manual to asciidoc only.

See also #5837

  1. … 170 more files in changeset.
Remove mention of the Hazelcast plugin

Its ownership is now changing, and we should not link to stuff not maintained by Gradle from the user guide.

Some more load/store adjustments

Use "store" instead of "push" in build cache documentation

Push can be misunderstood to mean that the remote cache pushes artifacts

to the local cache/the developer machine. Store makes it clear that

the outputs are stored in the build cache.

  1. … 5 more files in changeset.
Use "store" instead of "push" in build cache documentation

Push can be misunderstood to mean that the remote cache pushes artifacts

to the local cache/the developer machine. Store makes it clear that

the outputs are stored in the build cache.

  1. … 5 more files in changeset.
Remove known issues from build cache documentation

All the issues either have an Github issue open, do not apply any more

or are documented in the build cache guide.

Add missing comma

Adjust headings to make cacheable tasks more prominent

Only up to `===` show up in the navigation.

Merge branch 'master'

Allow ArgumentProviders be passed as Test/JavaExec Jvm arguments (#4300)

* Allow ArgumentProviders be passed to Test Jvm arguments

* Make it possible to pass argument providers to JavaExec

  1. … 26 more files in changeset.
Merge non-cacheable task section with built-in support

Add SwiftCompile to list of cacheable tasks

Mention build cache support for Android and Kotlin

Add release notes

  1. … 1 more file in changeset.
De-incubate the build cache

  1. … 11 more files in changeset.
Add documentation for cacheable play projects

+review REVIEW-6575

  1. … 1 more file in changeset.
Use age-based strategy to clean local build cache

Signed-off-by: Lóránt Pintér <lorant@gradle.com>

  1. … 13 more files in changeset.
Share build cache configuration of root build with all included builds and their buildSrc (#3824)

  1. … 20 more files in changeset.
Add ANTLR task to list of cacheable tasks

Caveat polishing

Update release notes and build cache docs for C++ caching

  1. … 1 more file in changeset.
Improve documentation for local build cache (#3483)

Especially the `targetSizeInMB` option seemed to cause some confusion.

  1. … 1 more file in changeset.
Add release notes for C/C++ caching

  1. … 1 more file in changeset.
Remove experimental native caching flag

  1. … 3 more files in changeset.
Improve native caching documentation

  1. … 1 more file in changeset.
Polish release notes

  1. … 2 more files in changeset.
Add documentation for native caching

  1. … 1 more file in changeset.
Document how to configure the build cache by an init script (#2945)

  1. … 3 more files in changeset.
Add flag to allow untrusted ssl connections to build cache (#2790)

  1. … 9 more files in changeset.
Cleanup stale output files during execution (#2572)

We now keep a registry of all the outputs generated by Gradle which will be reset on each version change. If Gradle encounters an existing output file, then it will remove it if is not part of the registered outputs and owned by Gradle/the build. We do also not remove directories containing outputs from different tasks.

The check to delete the stale outputs happens now just before the task executes and not up-front as it did before.

The `build` directory and all delete targets of the `clean` task are registered as owned by Gradle and are considered safe to delete.

Currently, the set of recorded task output files is only growing if we do not change the Gradle version. In the future we can improve on this by also detecting that some directories where removed (e.g. by running a clean task) and reflect this in the registry.

Fixes #1168

Fixes #973

+review REVIEW-6557

  1. … 32 more files in changeset.