Build Buck! Release-branch builds require Java 8, so we can't use those and hope to pass the version check.
Pass down our local Buck executable to docs/publish.sh and docs/soyweb-prod.sh. Otherwise, these scripts will try to use the Ant-bootstrapped Java 8 Buck instead of our locally built Java 11 Buck. They'll still use buck by default, so local usage is unaffected.
This has been tested by adding a couple tweaks in a separate branch to force publish_docs to run on commits and stop it from actually publishing, and then confirming that CircleCI passes.
Currently, all
dev
branchpublish_docs
jobs are failing the Java 11 requirement.A lot of things need to be changed to pass that requirement:
docs/publish.sh
anddocs/soyweb-prod.sh
. Otherwise, these scripts will try to use the Ant-bootstrapped Java 8 Buck instead of our locally built Java 11 Buck. They'll still usebuck
by default, so local usage is unaffected.This has been tested by adding a couple tweaks in a separate branch to force
publish_docs
to run on commits and stop it from actually publishing, and then confirming that CircleCI passes.