Hystrix icon indicating copy to clipboard operation
Hystrix copied to clipboard

Build Failure on Windows Due to Unconfigured 'destinationDir' in ClojureCompile Task

Open liujia13142324 opened this issue 1 year ago • 1 comments
trafficstars

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') } }

liujia13142324 avatar Jan 18 '24 22:01 liujia13142324

好的,我已收到。

ThinkingMan007 avatar Jan 18 '24 22:01 ThinkingMan007