# Enable building targets in //external:__subpackages__. common --experimental_sibling_repository_layout common --experimental_disable_external_package # Show the full set of flags for observability and debuggability. common --announce_rc # Enforce consistent action environment variables to improve remote cache hit # rate. build --incompatible_strict_action_env # Use the JDK defined by local_java_runtime in //prebuilts/jdk/jdk build --java_runtime_version=jdk17 # Depending on how many machines are in the remote execution instance, setting # this higher can make builds faster by allowing more jobs to run in parallel. # Setting it too high can result in jobs that timeout, however, while waiting # for a remote machine to execute them. build:remote --jobs=200 # Enable the remote cache so that action results can be shared across machines, # developers, and workspaces. build:remote --remote_cache=grpcs://remotebuildexecution.googleapis.com # Enable remote execution so that actions are performed on the remote systems. build:remote --remote_executor=grpcs://remotebuildexecution.googleapis.com # Set a higher timeout value, just in case. build:remote --remote_timeout=3600 # Enable authentication. This will pick up application default credentials by # default. You can use --auth_credentials=some_file.json to use a service # account credential instead. build:remote --google_default_credentials=true