gradle / gradle

Adaptable, fast automation for all
https://gradle.org
Apache License 2.0
16.75k stars 4.69k forks source link

Snippets in "Working with files" are not compatible with configuration cache #29880

Open mlopatkin opened 2 months ago

mlopatkin commented 2 months ago

Issue type

Wrong or misleading information

Problem description

Context (optional)

The code snippet is defined inline, rather than as a proper separated sample, and thus is not covered by tests.

It also has no Kotlin counterpart.

Page with the problem

https://docs.gradle.org/current/userguide/working_with_files.html#using_project_mkdir

alllex commented 2 months ago

This is a valid documentation issue.