SAMZA-109; make task.opts easier to use.
SAMZA-360; check-all.sh sets java home for gradle correctly now