LICENSE file clash with license directory on Windows
@siordache I have similar problem on windows, getting error:
* What went wrong:
Execution failed for task ':prepareMergedJarsDir'.
> Failed to copy C:\.........\build\jlinkbase\tmpjars\license\LICENSE to C:\................\build\jlinkbase\mergedjars\license\LICENSE due to C:\...............\build\jlinkbase\mergedjars\license\LICENSE
I tried:
jarExclude("**/license/**", "**/LICENSE*")
option for jlink task but it doesn't help at all :(
There is a file named LICENSE in target directory (mergedjars), and when your plugin tries to copy directory with license name it clashes with the existing file.
Originally posted by @vardlokkur in https://github.com/beryx/badass-jlink-plugin/issues/186#issuecomment-2454779834
The same problem can be observed on OSX with case-insensitive file system (default one)
@vardlokkur can you provde a minimal example project (maybe a hello world on your GH) that reproduces the problem?
@vardlokkur Hi, just a reminder that I need a minimal example project that reproduces this issue and information on what system the problem occurs on with that project. Otherwise I will close this issue.