I have a custom compile task.
task compileSpeedTest(type: JavaCompile) { classpath = files(\'build\') source = fileTree(\'src/test/java/speed\')
There is no task to download dependencies; they are downloaded on demand. To learn how to manage dependencies with Gradle, see "Chapter 8. Dependency Management Basics" in the Gradle User Guide.