compileAspect and compileTestAspect now copy the dependencies from the compileJava/compileTestJava tasks.

This prevents the assemble/build/processResources tasks from being executed when not
necessary.