Quantcast
Channel: Gradle Forums - Latest posts
Viewing all articles
Browse latest Browse all 19854

Tons of `Copying or archiving duplicate paths with the default duplicates strategy has been deprecated. This is scheduled to be removed in Gradle 7.0.`

$
0
0

I had to restore destinationDir, because in a multi-module project it complains as:

module-info.java:2: error: package is empty or does not exist

I fixed it by adding:

jar { duplicatesStrategy = DuplicatesStrategy.EXCLUDE }

Is this fine or considered a trick?


Viewing all articles
Browse latest Browse all 19854

Trending Articles