From 4d56a4f23024f8611565c66e4729dfc49fdb9d42 Mon Sep 17 00:00:00 2001 From: Adam Monsen Date: Mon, 16 Jun 2025 15:23:26 -0700 Subject: [PATCH] add gradle --refresh-dependencies band-aid I'd love some expert eyes on this section and feedback on whether these kinds of extra clean-up procedures are often, sometimes, or rarely useful. --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 91f97791a..5b158a371 100644 --- a/README.md +++ b/README.md @@ -148,6 +148,11 @@ UnsupportedClassVersionError: com.example.package/ClassName has been compiled by These builds are run in [short-lived virtual machines](https://docs.github.com/en/actions/using-github-hosted-runners/using-github-hosted-runners), so locally reproducing the same may require additional effort, such as these extra clean-up procedures: ```bash +# Might fix `error: cannot find symbol` or other intermittent failures. +# `doc` here is a placeholder for any task(s) you are trying to run. +# 💚 This is generally very safe to run between builds. +./gradlew --refresh-dependencies doc + # Destroy anything untracked by git. # ⚠️ This may delete something important, e.g. a finely-tuned IDE configuration. git clean --force -dx