CompilerConfiguration cc = new CompilerConfiguration();
cc.setTargetDirectory(classesDir);
this.shell = new GroovyShell(classLoader, binding, cc);
HttpTransport transport = new HttpTransport(url.toExternalForm());
// provide transport with custom class-loader which includes generated classes
List<URL> urls = Lists.newArrayList();
urls.add(classesDir.toURI().toURL());
for (File dir : extraDirs) {