Skip to content

Commit

Permalink
Disambiguate mordant.pro (#232)
Browse files Browse the repository at this point in the history
This change enables use of `duplicatesStrategy =
DuplicatesStrategy.FAIL`, which currently fails due to:

> What went wrong:
> \> Execution failed for task ':ghlint-cli:fatJar'.
> Cannot copy zip entry
'Z:\caches\gradle\caches\modules-2\files-2.1\com.github.ajalt.mordant\mordant-jvm-graal-ffi-jvm\3.0.0\e5c456bbad024da819bffde07a223ae6cb9582a3\mordant-jvm-graal-ffi-jvm.jar!META-INF/proguard/mordant.pro'
to 'META-INF/proguard/mordant.pro' because zip entry
'Z:\caches\gradle\caches\modules-2\files-2.1\com.github.ajalt.mordant\mordant-jvm-jna-jvm\3.0.0\bde15ea7842e9b77dec187390cde07bf6c15b14d\mordant-jvm-jna-jvm.jar!META-INF/proguard/mordant.pro'
has already been copied there.

Note: even though DuplicateStrategy.INCLUDE works around this problem,
R8 does not support it:

> \> Task :ghlint-cli:r8Jar
> Warning: Resource 'META-INF/proguard/mordant.pro' already exists.
  • Loading branch information
TWiStErRob authored Sep 29, 2024
1 parent 008f9d0 commit 4643f10
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 0 deletions.

0 comments on commit 4643f10

Please sign in to comment.