commit 5508d7b3a784d1b4c87c46275c95369cb859b5a5
parent 868e65dcf9ea4be097be1dde80fcb952886031a6
Author: Ted Campbell <tcampbell@mozilla.com>
Date: Tue, 6 Jan 2026 21:06:17 +0000
Bug 2008801 - Prefer 'mach gradle' over 'gradlew' in AGENTS.md r=suhaib,ai4dev-reviewers DONTBUILD
The standard firefox workflow is to use `mach gradle` to get helpful affordances
around bootstrap and locating JDKs, etc while `./gradlew` is unlikely to work
unless things were setup outside of bootstrap and the getting-started guides.
Define this as a 'skill' so it is easy to extend android-specific workflow steps
which aren't relevant to other build types.
Differential Revision: https://phabricator.services.mozilla.com/D278036
Diffstat:
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git a/.claude/skills/android/SKILL.md b/.claude/skills/android/SKILL.md
@@ -0,0 +1,7 @@
+---
+name: android
+description: Workflow guide when working with Android builds or the mobile/ directory.
+---
+
+## Workflow
+- Instead of `gradlew`, use `./mach gradle` as the wrapper. Use `-p` argument of gradle if you need to run in a subdirectory