Fix gradle task dependencies

Fix regression from previous commit

Signed-off-by: Rob Gallagher <rgallagher@pivotallabs.com>