Skip to content

Update to v11.1.0 and assorted gradle changes#9

Open
baklbakl wants to merge 1 commit intoOpenFTC:masterfrom
baklbakl:update
Open

Update to v11.1.0 and assorted gradle changes#9
baklbakl wants to merge 1 commit intoOpenFTC:masterfrom
baklbakl:update

Conversation

@baklbakl
Copy link

@baklbakl baklbakl commented Feb 9, 2026

Here is my update to SDK version v11.1.0. It's a little more than just an SDK update and I hope my extra changes are okay.

Changes

  • Update all java, res, asset, and jar files from extracted AARs
  • Gradle
    • Update Gradle files from the stock repo
      • build.common.gradle
      • build.gradle
      • FtcRobotController build.gradle
      • TeamCode build.gradle
    • Extract common elements of Gradle scripts to build.androidVersionCommon.gradle
    • Enable 64 bit libs in NDK filter
    • Remove renderscript from build scripts
    • Remove jniLibs.useLegacyPackaging from build scripts
    • NDK was already up to date with stock repo
    • Gradle wrapper was already up to date with stock repo
    • Removed Proguard as it didn't seem to do anything
    • Moved package, versionCode, and versionName from manifest to Gradle
  • Use libraries from Maven Central not the jars from AARs where possible
  • Update FtcRobotController
  • Update TeamCode
  • Removed minSDK from manifests
  • Update version codes and version names
  • CMake
    • Moved flags from RobotCore Gradle to CMakeLists.txt
    • Added a project directive to CMakeLists.txt and made associated changes CMakeLists.txt
  • Edited OBJ RenameFile.java to comment out unused r8 import that could not be found
  • Add combine.sh script to ease combining the extracted files into the correct directories

Questions

I have a couple more questions:

  • JavaWebSocket 1.4.1 exists on maven central, but it might not be the exact same build as the one provided in the aar as the file name is different. Would it be okay to replace the jar with the maven one?
  • OpenFTC's EasyOpenCV and AprilTag don't seem to be bundled with the stock sdk, but they are dependencies for. I updated them to the latest version. Is that okay or were they on an old version for a reason?
  • I added 64 bit native libraries to mirror the stock app, but it makes the app bigger. Is it okay to add them and if so should I enable architecture splits to save size?
  • Is the combine.sh script okay to have in or should I remove it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant