Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f3240f41 authored by Cole Faust's avatar Cole Faust
Browse files

Add the ability to always run errorprone inline

Currently, if you enable RUN_ERROR_PRONE=true, we create a seperate
jar from the main build which runs errorprone. But errorprone builds
also produce a regular built jar as a side effect, so you could use
it as your main java builder action. We don't do that because if you
toggled errorprone on/off, you'd invalidate all the java builds.

However, on CI, we always run with errorprone on, so there, it makes
more sense to always do the inline builds so that you don't have to
build everything twice.

Add a new environment variable to control running errorprone inline
or not.

Bug: 383626679
Test: Presubmits
Change-Id: I262af140fdeacb8342fe801f0c86f516d8fca587
parent f7bbd2fe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment