// Build Canvas Android apps (Student, Teacher, Parent) using Gradle. Use when user mentions building, compiling, assembling, or making the app. Provides commands for dev, qa, and prod build variants.
| name | build |
| description | Build Canvas Android apps (Student, Teacher, Parent) using Gradle. Use when user mentions building, compiling, assembling, or making the app. Provides commands for dev, qa, and prod build variants. |
Build the Canvas Android apps (Student, Teacher, Parent) using Gradle.
All build commands must be run from the repository root (canvas-android/), not the apps/ directory.
Build a specific app in the dev debug variant:
# Build Student app
./gradle/gradlew -p apps :student:assembleDevDebug
# Build Teacher app
./gradle/gradlew -p apps :teacher:assembleDevDebug
# Build Parent app
./gradle/gradlew -p apps :parent:assembleDevDebug
Build all three apps at once:
./gradle/gradlew -p apps assembleAllApps
Remove build artifacts before building:
./gradle/gradlew -p apps clean
dev, qa, proddebug, debugMinify, releasedevDebug - for developmentqaDebug - for testingBuild Teacher app for QA testing:
./gradle/gradlew -p apps :teacher:assembleQaDebug
Clean and rebuild Student app:
./gradle/gradlew -p apps clean :student:assembleDevDebug