about: |
Gradle / `./gradlew` task runners for JVM and Android repos: discover tasks,
inspect the dependency graph, run builds and tests, and pass through any
task name or Gradle flag. Use from the project root that contains `gradlew`.
commands:
w:
about: Run `./gradlew` with forwarded task names and args (same as bare gradlew).
exec:
argv: ["./gradlew"]
passthrough: true
tasks:
about: List runnable tasks (`./gradlew tasks`).
exec:
argv: ["./gradlew", "tasks"]
passthrough: true
tasks-all:
about: List all tasks including internal (`./gradlew tasks --all`).
exec:
argv: ["./gradlew", "tasks", "--all"]
projects:
about: Project structure (`./gradlew projects`).
exec:
argv: ["./gradlew", "projects"]
passthrough: true
deps:
about: Dependency report (`./gradlew dependencies`) — forwarded configs.
exec:
argv: ["./gradlew", "dependencies"]
passthrough: true
props:
about: Gradle properties (`./gradlew properties`).
exec:
argv: ["./gradlew", "properties"]
passthrough: true
build:
about: Full build (`./gradlew build`) — forwarded args.
exec:
argv: ["./gradlew", "build"]
passthrough: true
test:
about: Run tests (`./gradlew test`) — forwarded filters and JVM args.
exec:
argv: ["./gradlew", "test"]
passthrough: true
clean:
about: Clean build outputs (`./gradlew clean`).
exec:
argv: ["./gradlew", "clean"]
passthrough: true
help-task:
about: Help for a Gradle task — pass task name after (`./gradlew help --task`).
exec:
argv: ["./gradlew", "help"]
passthrough: true
wrapper:
about: Regenerate Gradle wrapper (`./gradlew wrapper`) — forwarded args.
exec:
argv: ["./gradlew", "wrapper"]
passthrough: true
gradle:
about: Raw `gradle` (if installed globally) — passthrough.
exec:
argv: ["gradle"]
passthrough: true