2 unstable releases
new 0.2.0 | Apr 16, 2024 |
---|---|
0.1.0 | Mar 25, 2024 |
#213 in Command line utilities
168 downloads per month
190KB
244 lines
Contains (JAR file, 71KB) gradle-wrapper.jar, (JAR file, 60KB) gradle-wrapper.jar, (JAR file, 64KB) gradle-wrapper.jar
gradle-wrapper-validator
A validator for gradle/wrapper jar binaries for your CI pipelines.
Why
This projects is a small and ergonomic re-implementation of gradle/wrapper-validator-action, intended to be used within any CI pipeline environment. The aforementioned project is great, but not quite portable outside Github. If you already use it on Github Workflows, there is no need to change!
If you are into CircleCI, Bitrise, TeamCity, GitlabCI or others, this project may be useful!
What
This tool will recursively walk the provided path
and flag any gradle/gradle-wrapper.jar
files with
unknown checksums,
exiting with success otherwise.
Installing
[!NOTE] Minimum supported Rust version (MSRV) : 1.74.0
Installing from crates.io (requires Rust / Cargo):
cargo install gwv
More install methods to come! Stay tuned!
Using
One-off execution (current folder)
curl -sSf https://cdn.statically.io/gh/dotanuki-labs/gradle-wrapper-validator/main/run | bash
One-off execution (custom folder)
curl -sSf https://cdn.statically.io/gh/dotanuki-labs/gradle-wrapper-validator/main/run |\
bash -s -- <path/to/folder>
If installed with Cargo (or other)
gwv --path <path/to/gradle/projects>
License
Copyright (c) 2024 - Dotanuki Labs - The MIT license
Dependencies
~8–20MB
~290K SLoC