What changed in each release, as a user notices it. GitHub's release pages list the releases.
vfox link --detect gradlefinds the Gradle installations vfox did not install and links what you confirm: SDKMAN!, Homebrew, mise and asdf candidates, system and manual installs (including Chocolatey, Scoop and WinGet on Windows), and the distributions a Gradle wrapper downloaded (finished ones only). Needs vfox 1.1.0 or later, which brings theDetecthook; older vfox ignores the hook file. See the README and development.md.- When another
gradleshadows the one vfox selected, vfox 1.1.0 and later prints the plugin's hint with it: SDKMAN!, Homebrew, mise, asdf, Chocolatey, Scoop, WinGet, or a manual install, and how to get vfox first. Older vfox prints nothing here. See troubleshooting.md. vfox useandvfox doctorwarn when an install changed in place: theFingerprinthook records the launcher jar after each install or link. Needs vfox 1.1.0 or later; older vfox ignores the hook file.- In a wrapper project directory,
gradlefollows the wrapper'sdistributionUrlwhen that release is installed (ParseLegacyFile; a version named in.vfox.tomlwins). See versions.md. - The hook tests run on vfox 1.1.0: the Test Plugin workflow and the dev
container pin 1.1.0, which brings the
DetectandFingerprinthooks.detect_test.luaandfingerprint_test.luastill pass on 1.0.13 by loading the hook file directly.
VFOX_GRADLE_MIRRORSworks with a value that ends in a slash, as the README wrote it. Release 0.1.1 asks for<mirror>//gradle-8.7-bin.zip, which a mirror on nginx takes for the same file and others answer 404. See mirror.md.- Huawei Cloud's mirror works. Release 0.1.1 leaves the download to vfox, which asks
with the
User-Agentof Go's HTTP client,Go-http-client/1.1, and Huawei Cloud answers that with a 403 and a page of HTML in place of the zip. vfox saves the page and the install ends inChecksum error. Now the download is made asvfox/<vfox version> vfox-gradle/<plugin version>, like the requests of the plugin itself. See mirror.md and vfox#746. - A
.sha256file that holds more than the digest alone works: the format ofsha256sum(<digest> <file>), a newline after the digest, capitals. Release 0.1.1 gives vfox the text as it is, and vfox compares it as it is, so a good download ends inChecksum error. A 200 that holds no digest, such as the page of a portal, stops the install withno SHA-256 digest in <address>. - A mirror, or a firewall in front of one, that answers the request for the sum with
something else than 200 or 404 stops the install with
checksum request failed: HTTP <status> from <address>. Release 0.1.1 prints onlyno installable runtime provided. See troubleshooting.md. - A mirror that keeps no
.sha256files is verified against the sum of services.gradle.org. Release 0.1.1 asks only the mirror, so for such a mirror vfox printsWARNING: Checksum is not provided, skip verify...and trusts the download, whatever it is. Tencent Cloud's mirror is one: it has no.sha256for any zip it added after 2023-02-22, 8.7 and 9.8.2 among them. Now the zip of the mirror has to be the one Gradle published, or the install ends inChecksum error. If services.gradle.org gives no sum either, such as on a network that blocks it, the install goes on with the warning as before. See mirror.md. - The notes printed by
vfox add gradleandvfox info gradlesay that Gradle needs a JDK and link to the README.
The rest is not in the plugin that vfox installs: the tests, the lint and license checks, a dev container, and the documentation in English and Chinese, which includes a page on Java toolchains.
The description of the plugin, which vfox info gradle prints, reads "Gradle runtime
environment." in place of "gradle". The rest is the release workflow.
The first release. vfox search gradle lists the releases of gradle.org,
vfox install downloads a release from services.gradle.org, or from the mirror that
VFOX_GRADLE_MIRRORS names, and verifies its SHA-256 sum, and vfox use sets
GRADLE_HOME and PATH.