Build robot code
buildCompile FTC TeamCode module via Gradle assembleDebug. On success, returns APK path; on failure, extracts compiler errors.
Instructions
Compile the TeamCode module with Gradle (assembleDebug). Returns the APK path on success, or the extracted compiler errors on failure. First build can take several minutes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clean | No | Run :TeamCode:clean before assembleDebug | |
| stacktrace | No | Include Gradle --stacktrace and return a longer failure tail | |
| projectPath | No | Path to the FtcRobotController SDK project. Defaults to $FTC_TOOLCHAIN_PROJECT_DIR, then the workspace clone made by create_project. | |
| timeoutSeconds | No | Build timeout in seconds (default 600) |