You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please check the User Guide before submitting "how do I do 'x'?" questions!
Shadow Version
7.0.0
Gradle Version
7.6
Expected Behavior
The third-party jars contains many services files like META-INF/services/XXX , and my project has an services file META-INF/services/AAA. Is there easy way to exclude all services files in third-party jars, but keep services file of my projcet META-INF/services/AAA?
Actual Behavior
When I use the follow script, It will exculde all services file
shadowJar {
mergeServiceFiles {
exclude "META-INF/services/**"
include "META-INF/services/AAA"
}
}
I must exclude one by one as follow script, then it works as I expected, but the third-party jars contains too many services files, and need a new exclude script if introduce another third-party jars
Please check the User Guide before submitting "how do I do 'x'?" questions!
Shadow Version
7.0.0
Gradle Version
7.6
Expected Behavior
The third-party jars contains many services files like
META-INF/services/XXX
, and my project has an services fileMETA-INF/services/AAA
. Is there easy way to exclude all services files in third-party jars, but keep services file of my projcetMETA-INF/services/AAA
?Actual Behavior
When I use the follow script, It will exculde all services file
I must exclude one by one as follow script, then it works as I expected, but the third-party jars contains too many services files, and need a new exclude script if introduce another third-party jars
Thanks for any suggestion
Gradle Build Script(s)
Content of Shadow JAR (
jar tf <jar file>
- post link to GIST if too long)The text was updated successfully, but these errors were encountered: