-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Additional files (README and CHANGES) published in META-INF #1666
Comments
The jar is the canonical published artifact. Yes, I want those files there. |
For now, you can exclude them yourself during packaging of the aab/apk by adding the following to your app's android {
//...
packagingOptions {
resources {
excludes.addAll(listOf("META-INF/README.md", "META-INF/CHANGES")) // https://github.com/jhy/jsoup/issues/1666
}
}
} |
Thanks. That's what I did actually :) |
While this can always be filtered out in the consumer side, I find it unnecessary that jsoup ends up putting the
README.md
andCHANGES
in theMETA-INF
folder, resulting in additional 17.4 KB (aprox) extra space.https://github.com/jhy/jsoup/blob/master/pom.xml#L233-L234
Is there any specific reason why is this being done on purpose? LICENSE file I may understand (although I don't seem to get that -- probably something our android build tools filters out), but not the other two.
Would you consider removing those? Or you see it as something to be done by the users of the library in their use cases?
The text was updated successfully, but these errors were encountered: