FtcRobotController icon indicating copy to clipboard operation
FtcRobotController copied to clipboard

Switch to an incremental annotation processor?

Open hashgupta opened this issue 4 years ago • 1 comments

When compiling my project, I can get a build warning saying that the org.firstinspires.opmodeannotationprocessor.MyProcessor is non-incremental, meaning the entire compiler must run non incrementally. This means that builds can become very slow because it has to rebuild all files every time a change occurs.

(The above is my understanding, but could be very wrong. Google's guide to improving build speed with annotation processors)

Would it be possible to switch to an incremental annotation processor to speed up builds?

hashgupta avatar Mar 17 '21 16:03 hashgupta

The annotation processor is simply doing compile-time analysis to check for OpMode name clashes; you can disable it without losing any core functionality. Does disabling it make any noticeable difference in build times?

Windwoes avatar Sep 23 '21 03:09 Windwoes

The annotation processor has been removed from the SDK.

Windwoes avatar Sep 14 '24 16:09 Windwoes