老师你好为啥我在ecilpse实现不了这个自动生成目录是ecilpse不支持吗
def crtateDir = {
path ->
File dir =new File(path);
if (!dir.exists()) {
dir.mkdir();
}
};
task makeJavaDir() {
def paths = ['src/main/java','src/main/resources','src/test/java','src/test/resources'];
doLast{
paths.forEach(crtateDir);
}
}