Skip to content

LICENSE file clash with license directory on Windows #277

Open
@vardlokkur

Description

@vardlokkur
          @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 #186 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions