mirror of
https://github.com/d4rken-org/capod.git
synced 2026-09-16 11:16:12 -04:00
Migrate monolithic root CLAUDE.md into .claude/rules/ structure with focused topic files and glob-based contextual loading. Clean up leftover helper scripts in .claude/tmp/.
1.3 KiB
1.3 KiB
description, globs
| description | globs | |||
|---|---|---|---|---|
| Build, test, lint, and release commands for Gradle |
|
Build Commands
Build
# Build debug version
./gradlew assembleDebug
# Build all variants (FOSS and Google Play flavors)
./gradlew assemble
# Build specific flavor and type
./gradlew assembleFossDebug
./gradlew assembleGplayRelease
# Build app bundles for Play Store
./gradlew bundleGplayRelease
Testing
# Run all unit tests
./gradlew test
# Run unit tests for specific variant
./gradlew testFossDebugUnitTest
# Run instrumentation tests (requires connected device/emulator)
./gradlew connectedAndroidTest
./gradlew connectedFossDebugAndroidTest
# Run all checks (lint + tests)
./gradlew check
Code Quality
# Run lint for all variants
./gradlew lint
# Run lint for specific variant
./gradlew lintFossDebug
# Auto-fix lint issues where possible
./gradlew lintFix
# Update lint baseline
./gradlew updateLintBaseline
Release
./gradlew assembleFossRelease assembleGplayRelease
Notes
- Use
assembleFossDebugas the default quick-check build (fastest variant) - Run
./gradlew checkbefore submitting changes to catch lint and test issues - Instrumentation tests require a connected device or running emulator