gradle 1.8-rc2

Closes #22719.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
wine: apply upstream patch for 10.9

Closes #21791.
Add tests to ensure ENV.compiler is correct
gts: add netpbm dep, fix build

Fixes #22683.