Hystrix
Hystrix copied to clipboard
Build Failure on Windows Due to Unconfigured 'destinationDir' in ClojureCompile Task
This gradle project failed to build on Windows. I received the following message "A problem was found with the configuration of task ':hystrix-clj:compileClojure' (type 'ClojureCompile'). In plugin 'nebula.plugin.clojuresque.ClojureCommonPlugin' type 'nebula.plugin.clojuresque.tasks.ClojureCompile' property 'destinationDir' doesn't have a configured value.."
I noticed the code below in this plugin. It matches the output directory using the pattern 'java/main'. However, on Windows, the file separator is '\', so it always fails to build on Windows but builds successfully on Linux."
private File findOutputDir(SourceSet set) {
return set.output.classesDirs.files.find {
it.path.contains('clojure/main') || it.path.contains('java/main')
}
}
好的,我已收到。