I'm wondering if a better way to do this would be to modify the 'jar' task to output it's file to a different location. 
An alternative would be to output the Shadow jar to something like 'build/distributions' instead of 'build/libs'.