1# Enable building targets in //external:__subpackages__. 2common --experimental_sibling_repository_layout 3common --experimental_disable_external_package 4 5# Show the full set of flags for observability and debuggability. 6common --announce_rc 7 8# Enforce consistent action environment variables to improve remote cache hit 9# rate. 10build --incompatible_strict_action_env 11 12# Use the JDK defined by local_java_runtime in //prebuilts/jdk/jdk<VERSION> 13build --java_runtime_version=jdk17 14 15# Depending on how many machines are in the remote execution instance, setting 16# this higher can make builds faster by allowing more jobs to run in parallel. 17# Setting it too high can result in jobs that timeout, however, while waiting 18# for a remote machine to execute them. 19build:remote --jobs=200 20 21# Enable the remote cache so that action results can be shared across machines, 22# developers, and workspaces. 23build:remote --remote_cache=grpcs://remotebuildexecution.googleapis.com 24 25# Enable remote execution so that actions are performed on the remote systems. 26build:remote --remote_executor=grpcs://remotebuildexecution.googleapis.com 27 28# Set a higher timeout value, just in case. 29build:remote --remote_timeout=3600 30 31# Enable authentication. This will pick up application default credentials by 32# default. You can use --auth_credentials=some_file.json to use a service 33# account credential instead. 34build:remote --google_default_credentials=true 35