Fix scope on buildscript dependency

The compile method can't be applied because that is added by java/groovy/scala etc. plugins. Since the buildscript block is evaluated first, that will cause a build error.
Merge pull request #1 from thatJavaNerd/patch-1

Fix scope on buildscript dependency