Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disambiguate mordant.pro #232

Merged
merged 1 commit into from
Sep 29, 2024
Merged

Disambiguate mordant.pro #232

merged 1 commit into from
Sep 29, 2024

Conversation

TWiStErRob
Copy link
Contributor

@TWiStErRob TWiStErRob commented Sep 28, 2024

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.

TWiStErRob added a commit to TWiStErRob/net.twisterrob.ghlint that referenced this pull request Sep 28, 2024
@ajalt ajalt enabled auto-merge (squash) September 29, 2024 16:14
@ajalt ajalt merged commit 4643f10 into ajalt:master Sep 29, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants