Crates.io | gw |
lib.rs | gw |
version | 0.2.0 |
source | src |
created_at | 2020-02-19 06:43:53.179984 |
updated_at | 2020-02-22 08:59:10.681333 |
description | gw - gradlew convenience - gdub clone |
homepage | https://github.com/normartin/rust-gradlew-locator |
repository | https://github.com/normartin/rust-gradlew-locator |
max_upload_size | |
id | 210523 |
size | 23,661 |
gw is a gdub clone written in Rust for fun. It finds the nearest gradle build file and executes it with the corresponding wrapper. Any arguments passed to gw are passed to the wrapper. If there is no gradle wrapper it tries to use gradle from $PATH. Works on Linux, MacOS and Windows.
Call gw build
anywhere in your gradle project and it will call ./gradlew build
in the directory of the nearest gradle build file.
without gw | with gw |
---|---|
./gradlew build |
gw build |
../gradlew build |
gw build |
../../gradlew build |
gw build |
... |
|
gradle build |
gw build |
gradle -b ../build.gradle build |
gw build |
gradle -b ../../build.gradle build |
gw build |
... |
cargo install gw
gw
in one of your gradle projectsor use a released binary:
gw
or on windows gw.exe
gw
in your gradle projects