Adding classpath to task
Base on new build plugin api