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.
Installation
Details
Usage
After installing, this skill will be available to your AI coding assistant.
Verify installation:
skills listSkill Instructions
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 Canvas Android Apps
Build the Canvas Android apps (Student, Teacher, Parent) using Gradle.
Build Location
All build commands must be run from the repository root (canvas-android/), not the apps/ directory.
Build Commands
Build Individual Apps
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 Apps
Build all three apps at once:
./gradle/gradlew -p apps assembleAllApps
Clean Build
Remove build artifacts before building:
./gradle/gradlew -p apps clean
Build Variants
- Flavors:
dev,qa,prod - Types:
debug,debugMinify,release - Common variants:
devDebug- for developmentqaDebug- for testing
Examples
Build Teacher app for QA testing:
./gradle/gradlew -p apps :teacher:assembleQaDebug
Clean and rebuild Student app:
./gradle/gradlew -p apps clean :student:assembleDevDebug
More by instructure
View allInstall and deploy Canvas Android apps to connected devices or emulators using adb and Gradle. Use when user mentions installing, deploying, running on device, launching app, or working with emulators.
Create pull requests for Canvas Android following project conventions. Use when user mentions creating PR, pull request, opening PR, or submitting changes for review. Includes PR template requirements and affects field guidelines.
Run unit tests and instrumentation tests for Canvas Android apps. Use when user mentions testing, running tests, JUnit, Espresso, or checking test results. Includes commands for Student, Teacher, and Parent apps.