feat(gradlew): Gradle support for Android/Kotlin developers#312
Open
kherembourg wants to merge 1 commit intortk-ai:masterfrom
Open
feat(gradlew): Gradle support for Android/Kotlin developers#312kherembourg wants to merge 1 commit intortk-ai:masterfrom
kherembourg wants to merge 1 commit intortk-ai:masterfrom
Conversation
… indicator Comprehensive Gradle/Android support: build, test, lint, clean, install, uninstall, check, and dependencies filters with live progress spinner. Falls back to system gradle when wrapper not found. Hook rewrites ./gradlew and gradle commands automatically. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
655e291 to
d407be4
Compare
4 tasks
Collaborator
|
Hi @yonatankarp, @rubixhacker, @kherembourg! Three Gradle PRs are open at the same time (#263, #288, #312) — they overlap significantly on |
This was referenced Mar 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Comprehensive Gradle support for Android and Kotlin developers using
./gradlew(orgradle). Filters verbose Gradle output down to what matters — status, errors, and results — with 60–85% token savings depending on the task.This PR covers the full Android development workflow: building, testing, linting, installing to devices, dependency inspection, and project cleanup.
Commands Handled
rtk gradlew assembleDebugrtk gradlew bundleReleasertk gradlew cleanrtk gradlew installDebugrtk gradlew uninstallDebugrtk gradlew checkrtk gradlew testDebugUnitTestrtk gradlew connectedDebugAndroidTestrtk gradlew lintrtk gradlew dependenciesrtk gradlew <other>Features
is_terminal()guard)gradlewhen./gradlewwrapper is not found in the project--stacktrace,--info,--debugflags bypass all filtering for full outputrtk ./gradlewandrtk gradleboth work as aliases forrtk gradlew./gradlew <cmd>andgradle <cmd>are automatically rewritten tortk gradlew <cmd>by the hookgradlew.batdetected automaticallyArchitecture
cleanargument determines the filter strategy> Task :progress lines, daemon messages, configuration noise; keeps BUILD SUCCESSFUL/FAILED, error lines, and warningsQuality Checks
cargo fmt --all --check— cleancargo clippy --all-targets— no new warningscargo test --all— 494 passed, 0 failed./gradlewoutput on an Android projectgradlerewrite supportManual Testing
Manually tested on a real Android project with
./gradlew:rtk gradlew assembleDebug— build filtered correctly, progress spinner visible in terminalrtk gradlew testDebugUnitTest— only test results shownrtk gradlew clean— task noise stripped, BUILD result preservedrtk gradlew check— mixed test+lint output filtered correctlyrtk gradlew installDebug— install filtered like buildrtk gradlew dependencies— only top-level deps shown per configurationrtk ./gradlew testDebugUnitTest— alias works--stacktrace)rtk gradlew assembleDebug | cat)🤖 Generated with Claude Code