Change dependency to classpath dependency.

Build script dependencies can't be compile dependencies.