Skip to content

Instantly share code, notes, and snippets.

View MatthewOates36's full-sized avatar

Matthew Oates MatthewOates36

View GitHub Profile
@MatthewOates36
MatthewOates36 / build.gradle
Created August 23, 2023 00:00
Example of Adding Fast Load Dependencies to TeamCode Gradle File (be sure to replace {version} in the dependencies with the latest version number)
//
// build.gradle in TeamCode
//
// Most of the definitions for building your module reside in a common, shared
// file 'build.common.gradle'. Being factored in this way makes it easier to
// integrate updates to the FTC into your code. If you really need to customize
// the build definitions, you can place those customizations in this file, but
// please think carefully as to whether such customizations are really necessary
// before doing so.
@MatthewOates36
MatthewOates36 / FTC_FAST_LOAD.md
Last active October 23, 2024 18:09
Installation and Usage Instructions for FTC Fast Load v0.1.2

FTC Fast Load

Library for FTC teams allowing quick changes to TeamCode files to speed up the software development process.

The fast load works through a combination of an Android Gradle plugin and a small Android library included in the FtcRobotController app. The Gradle plugin creates a streamlined build process for TeamCode classes. The result of this build process is a slim bundle containing only TeamCode classes which is a few hundred KB opposed to the full FtcRobotController APK which is ~50MB. This small bundle allows for sub-second installs.