Extract os specific downloads to a script plugin
Don't apply java plugin explicitly because it's already applied by groovy plugin