quarkusAppPartsBuild fails with "Dependencies with duplicate files detected." when "-Dquarkus.container-image.build=true" in multi-module Gradle project #37858
I can't build my project anymore as a Docker container, as it complains about resources that are duplicated by several transitive modules. (the normal build still works)
As far as I remember, I had that problem in the past once, and solved it by setting a DuplicatesStrategy
Describe the bug
I can't build my project anymore as a Docker container, as it complains about resources that are duplicated by several transitive modules. (the normal build still works)
As far as I remember, I had that problem in the past once, and solved it by setting a DuplicatesStrategy
But this does not have an impact on the quarkusAppPartsBuild task.
Expected behavior
To build accordingly / respect the duplicates strategy at least
Actual behavior
How to Reproduce?
No response
Output of
uname -a
orver
No response
Output of
java -version
21
Quarkus version or git rev
3.6.3
Build tool (ie. output of
mvnw --version
orgradlew --version
)Gradle 8.5
Additional information
No response