-
Notifications
You must be signed in to change notification settings - Fork 408
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
DuplicatesStrategy.FAIL doesn't work with transform #488
Comments
I'm having the opposite problem. When I set |
It's the correct behavior from Gradle side.
https://docs.gradle.org/current/javadoc/org/gradle/api/file/DuplicatesStrategy.html#FAIL |
@Goooler thanks for the response. I understand what |
You are right, I can repro this in #1233. |
I have something along the lines of:
There are multiple
META-INF/extensions.idx
files which, whenduplicatesStrategy
is NOTDuplicatesStrategy.FAIL
, get merged correctly but when it ISDuplicatesStrategy.FAIL
- it blows up withorg.gradle.api.file.DuplicateFileCopyingException: Encountered duplicate path "META-INF/extensions.idx" during copy operation configured with DuplicatesStrategy.FAIL
. Am I doing something wrong or is this a bug? I think that having specified that I want those files appended means that it should not blow up with that error, right?The text was updated successfully, but these errors were encountered: