Remove jsoup files from APK

Two jsoup files slipped into the META-INF dir of the APK for some reason. README.md and CHANGES are removed automatically now.
This commit is contained in:
TobiGr 2023-04-04 17:42:34 +02:00
parent 07111d86d4
commit c08538d25d
1 changed files with 8 additions and 0 deletions

View File

@ -96,6 +96,13 @@ android {
buildFeatures {
viewBinding true
}
packagingOptions {
// remove two files which belong to jsoup
// no idea how they ended up in the META-INF dir...
exclude 'META-INF/README.md'
exclude 'META-INF/CHANGES'
}
}
ext {
@ -313,6 +320,7 @@ static String getGitWorkingBranch() {
}
}
// fix reproducible builds
project.afterEvaluate {
tasks.compileReleaseArtProfile.doLast {
outputs.files.each { file ->