Skip to content

Commit 71065a5

Browse files
committed
Update README to include warning that the gradle.cache.local.removeUnusedEntriesAfterDays system property is unsupported as of Gradle 9
1 parent 0af77d4 commit 71065a5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@ to modify the build scripts. For example, to disable the local build cache when
8787
| buildCache.local.setDirectory | gradle.cache.local.directory | GRADLE_CACHE_LOCAL_DIRECTORY |
8888
| buildCache.local.setRemoveUnusedEntriesAfterDays | gradle.cache.local.removeUnusedEntriesAfterDays | GRADLE_CACHE_LOCAL_REMOVEUNUSEDENTRIESAFTERDAYS |
8989

90+
> :warning: The `gradle.cache.local.removeUnusedEntriesAfterDays` system property override is unsupported with Gradle 9 or later, as cache entry retention settings can only be configured from an init script.
91+
9092
### HTTP Build Cache settings
9193

9294
| HTTP Build Cache API | System property | Environment variable |

0 commit comments

Comments
 (0)