build

Build Canvas Android apps with Gradle for dev, QA, and production variants.

153|115|Updated Apr 3, 2019
One-click install
npx skills add https://github.com/instructure/canvas-android --skill build
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: build
Source: https://github.com/instructure/canvas-android/tree/main/apps/.claude/skills/build-apps
Command: npx skills add https://github.com/instructure/canvas-android --skill build

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill builds the Canvas Android apps (Student, Teacher, Parent) using Gradle, covering dev, qa, and prod variants.

Core Features & Use Cases

  • Individual App Builds: Build a specific app in a dev/qa/prod variant.
  • All Apps Build: Build all three apps in one command.
  • Clean Build: Remove artifacts before building.

Quick Start

  • 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: ./gradle/gradlew -p apps assembleAllApps
  • Clean: ./gradle/gradlew -p apps clean

Frequently Asked Questions about build

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build Canvas Android apps with Gradle?

Build Canvas Android apps using Gradle by running ./gradlew -p apps from the canvas-android repository root. Use :student:assembleDevDebug, :teacher:assembleDevDebug, or :parent:assembleDevDebug to build individual apps in dev, QA, or production variants. Run assembleAllApps to build all three apps at once.

Can I build specific Android app variants like devDebug or qaDebug?

Yes, Gradle supports building specific variants for each Canvas app. Use assembleDevDebug for development, qaDebug for QA testing, or release variants. The Skill automates variant selection for Student, Teacher, and Parent apps without manual configuration.

What's the best way to perform a clean build of Canvas Android apps?

Run ./gradlew -p apps clean before building to remove all artifacts and compiled outputs. This ensures a fresh build without cached or stale dependencies, useful when troubleshooting build issues or preparing release builds.

Do I need to run Gradle commands from a specific directory?

Yes, run all Gradle commands from the canvas-android repository root using the ./gradlew wrapper with -p apps flag. This ensures the Skill correctly locates the build configuration and app modules for Student, Teacher, and Parent.

Can I build individual Canvas apps or must I build all three together?

You can build individual apps—Student, Teacher, or Parent—by specifying the app module in your Gradle command. Alternatively, use assembleAllApps to build all three apps in a single command, reducing repetitive builds.